Pages in API reference

Accounts

Get a connected account

GET/api/accounts/:accountId

Get one social account by id, including revoked ones (status: revoked).

  • health: canPost, needsReconnect and issues[] (codes such as ACCOUNT_REVOKED, TOKEN_EXPIRED, MISSING_SCOPE:<scope>, each with a message to relay).
  • When needsReconnect is true, call accounts_connect with accountId set to this id; the account keeps its id.
  • platformMetadata has public per-platform details.
  • Use it to check one account before posting or after a reconnect; use accounts_list to find accounts by platform, set or status. 404 ACCOUNT_NOT_FOUND when no account with this id is yours or the key is restricted to other sets.
Key scope
accounts:read
MCP tool
accounts_get

Headers

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

Path parameters

  • accountIdstringrequired

    Account id (UUID): id from accounts_list

Errors return { error: { code, message } }; every code is in Error codes.