Accounts
GET
Requires the read scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringFormat
uuidmulaichat-workspace?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The account.
application/json- response
id*stringFormat
uuidprofile_id*stringFormat
uuidplatform*stringValue in
"threads""instagram""facebook""tiktok""linkedin""youtube""x""telegram""discord""pinterest"username*string|nulldisplay_name*string|nullavatar_url*string|nullstatus*stringValue in
"active""expired""revoked"scopes*array<string>Platform permissions granted for this account.
token_expires_at*|nullconnected_at*stringFormat
date-timeplan_suspended*booleanOver the plan account limit: still connected, but no posting until reactivated.
expired_at*|When the account became expired; null while active.
expired_reason*|Why it became expired: the platform's message (e.g. a revoked token) or Mulaichat's reason. Null while active.
curl -X GET 'https://api.mulaichat.com/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8", "platform": "threads", "username": "string", "display_name": "string", "avatar_url": "string", "status": "active", "scopes": [ "string" ], "token_expires_at": "2019-08-24T14:15:22Z", "connected_at": "2019-08-24T14:15:22Z", "plan_suspended": true, "expired_at": "2019-08-24T14:15:22Z", "expired_reason": "string"}