Accounts
Reactivate an account suspended by the plan limit
POST
When the limit is full, send replace_account_id (an active account suspended in its place); without it 403 plan_account_limit.
Requires the write scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringFormat
uuidTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
application/json- body
replace_account_id?stringFormat
uuidEvery account, updated.
application/json- response
data*array<>curl -X POST 'https://api.tebar.app/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate' \
-H 'Content-Type: application/json' \
-d '{}'Example Response
{
"data": [
{
"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
}
]
}Move an account to another profile POST
profile_id is the id or external_id of the destination. Comments and statistics move with the account; existing posts stay in their profile. An account with posts waiting to publish: 409 account_has_scheduled_posts. Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
Get the remaining publishing quota GET
Requires the read scope.