Get account capabilities

Returns the publishing capability map for the platform behind one connected account. Use it to drive client-side validation or UI affordances before you call create post.
https://api.unipost.dev
GET/v1/accounts/:account_id/capabilities
Authorization
In header ยท Bearer <token>
Path
string

Authorization

AuthorizationBearer <token>In header
Workspace API key.

Path Params

account_idstring
Connected account ID such as sa_x_123.

Response Body

200
schema_versionstring
Capability schema version.
account_idstring
Resolved account ID.
platformstring
Platform name for this account.
capability.display_namestring
Human-friendly platform name.
capability.textobject
Caption length and threading rules.
capability.mediaobject
Image/video limits and file format rules.
capability.threadobject
Whether reply-chain style threading is supported.
capability.schedulingobject
Whether UniPost can schedule posts for this platform.
capability.first_commentobject
Whether first comments are supported and any extra limits.
x_inbox.comments_enabledboolean
Whether this X account can receive and answer eligible public replies.
x_inbox.reconnect_requiredboolean
Whether the account must repeat X OAuth.
x_inbox.delivery_statusstring
pending, active, paused_cap, paused_allowance, paused_plan, or error.
x_inbox.app_modestring
unipost_managed_app, workspace_x_app, or legacy_unknown.
x_inbox.missing_app_credentialsstring[]
For workspace_x_app, any missing client_id, client_secret, app_bearer_token, or consumer_secret.
401
error.codestring
Common values include "UNAUTHORIZED" and "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
404
error.codestring
Common values include "UNAUTHORIZED" and "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Common values include "UNAUTHORIZED" and "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "unauthorized" or "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.