Skip to main content
POST
Approve scheduled posts

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

app_id
string
required

ID of the app whose social calendar you want.

Body

application/json
post_ids
string[]
required

IDs of the posts to approve, 1 to 50 of them, as returned by List scheduled posts. Repeated ids are collapsed.

Required array length: 1 - 50 elements
Pattern: ^[0-9a-fA-F]{24}$
Example:

Response

The outcome of each ID you sent.

Per-id outcome of an approve call.

Approval is a selection, so one unusable id must not discard the rest: valid rows transition and the others are reported. Re-approving a row that is already approved or scheduled lands in approved without a write, which makes a repeated call return the same body as the first.

approved
string[]

IDs of the posts that are now approved, including any that already were approved or scheduled. An approved post becomes scheduled once it's handed to the workflow that publishes it.

Example:
not_found
string[]

IDs that name no live post of this app, because the post never existed or was deleted.

Example:
rejected
RejectedPost · object[]

Posts that are past the point of approval, each with the status that refused it.

Example: