Approve a post
Approve a post that is waiting for approval, and publish, schedule or save it.
posts:approve. That is enough to publish: type: publish sends the post at once (IN_QUEUE). See Permissions.PENDING_APPROVAL) when someone whose role can’t publish schedules or publishes it. This does what the Approve button in PostSyncer does: type: publish sends it now, type: schedule schedules it, and type: draft makes it a draft.
With schedule, send schedule_for to pick the time, or leave it out to keep the time the post was sent with, which must still be ahead. The answer is the post object, with its new status.
Who can approve
- The key’s person must have a role that can approve posts in the workspace: an owner, a manager, a content manager or a client.
- An owner, a manager or a content manager can approve any waiting post. A client can approve only a post that was sent to them.
- Approving answers the request for everyone. Once approved, the post isn’t waiting any more, so approving it again answers
422; if two people approve at the same moment, the second gets409.
Errors
Related
- The post object:
PENDING_APPROVALand the other statuses. - Create a post: how a post is sent for approval.
- Other events:
approval.requested,approval.approvedandapproval.rejected.
Authorizations
Body
Response
The post, approved.
A post: its text and media, when it goes out, and one row per account it goes to (platforms). Times are in the workspace's timezone, as Y-m-d H:i.
The post's parts, in order. One part is a single post; more parts make a thread on X, Threads, Bluesky and Mastodon (the other networks get the parts joined into one text, with two blank lines between them, the first comment left out). A part with is_first_comment is the first comment.
Where the post stands. DRAFT: saved, not going out. SCHEDULED: goes out at scheduled_at. PENDING_APPROVAL: waiting for someone to approve it. IN_QUEUE: published now and waiting its turn. IN_PROGRESS: being sent. PUBLISHED: out on every account. PARTIALLY_FAILED: out on some accounts, failed on others. FAILED: failed on every account. REJECTED: its approval was turned down.
DRAFT, SCHEDULED, PENDING_APPROVAL, IN_QUEUE, IN_PROGRESS, PUBLISHED, PARTIALLY_FAILED, FAILED, REJECTED Goes up by one each time the post's content is saved. Send it back on Update a post to be refused (409) instead of overwriting a change made elsewhere since you read it.
The post's comment moderation; null when it was never set. Change it with Update comment moderation.
The post's contact collection; null when it was never set. Change it with Update contact collection.
The post's workspace. It has no accounts or brand_voice here: List workspaces has those.
The reply posted when the post reaches a number of likes, reposts, replies or views; null when it's off. Change it with Update auto-plug.