Skip to main content
POST
Approve scheduled posts

Authorizations

api_key
string
header
required

Personal API key.

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 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 scheduled, including any that already were.

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: