List connected accounts
Returns connected social accounts, newest first. Use id as social_account_id in post targets.
GET
/api/cli/accountsAuthorization
AuthorizationBearer token (ba_sk_...) · headerrequiredAPI key from /dashboard/api-keys. Keys expire after 365 days.
or
AuthorizationBearer token (ba_mcp_access_...) · headerrequiredThe OAuth access token the hosted MCP server issues (brainy:read for GET routes, brainy:write for everything else). One login serves MCP, the CLI and the desktop app. A token without the needed scope gets 403 Insufficient scope.
Responses
200
OK
accountsAccount[]Show propertiesHide properties
Array of
Accountidstring<uuid>platformstringtiktok, instagram, youtube, linkedin or x. Article destinations (devto, hashnode, reddit) can also appear in this list.
account_handlestringtoken_validbooleancreated_atstring<date-time>401
Missing, invalid, expired, or revoked API key
errorstringrequiredcodestring