Docs
Docs
/v1/accounts · Accounts
Accounts API
Returns social accounts connected to the API key owner. Use
id as account_id when creating posts or schedules. Tokens are never included.List accounts
GET
/api/v1/accountsQuery
Response
{ "accounts": [ ...Account ] }Account object
Get an account
GET
/api/v1/accounts/:idcurl
curl "https://xbeast.io/api/v1/accounts/YOUR_ACCOUNT_ID" \ -H "Authorization: Bearer xb_live_YOUR_KEY"
Update account instructions
PATCH
/api/v1/accounts/:idBody (all optional)
curl -X PATCH "https://xbeast.io/api/v1/accounts/YOUR_ACCOUNT_ID" \
-H "Authorization: Bearer xb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_prompt": "Concise, technical, no hashtags.",
"reply_prompt": "Warm, ask one follow-up question.",
"timezone": "America/New_York"
}'Delete an account
DELETE
/api/v1/accounts/:idRemoves the connection and its schedules and posts. Generated images are left untouched. Destructive and cannot be undone.
Connecting a new account is browser-only
X OAuth must be completed by the user in a browser. Open the dashboard or ask an agent for the connect URL (
get_connect_url over MCP) and open it where you are signed in.Next: create a post or schedule with this account_id.