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_instagram_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.
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.