Docs
/v1/accounts · Accounts

Accounts API

Returns social accounts connected to the API key owner. Use id as account_id when creating posts. Tokens are never included.
GET/api/v1/accounts

Response

{
  "accounts": [
    {
      "id": "123456789",
      "handle": "yourhandle",
      "platform": "x",
      "timezone": "America/New_York"
    }
  ]
}

Account object

FieldTypeRequiredDescription
idstringPlatform user id. Pass as account_id on posts.
handlestringUsername / handle.
platformstringx, linkedin, bluesky, or threads.
timezonestringIANA timezone used for the daily post limit.
curl
curl "https://xbeast.io/api/v1/accounts" \
  -H "Authorization: Bearer xb_live_YOUR_KEY"