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.
Approve what you reviewed
Send thereview_version of the post you reviewed (from Get a post). A stale review_version is refused with 409 and error: post_changed_since_review, and nothing changes: read the post again, look at what changed, and approve the new version. Without review_version, the approval takes whatever the post holds now.
review_version moves only when what an approver reviews changes: the text, the first comment and thread parts, media and their order, the accounts and their settings, the time, the repeats, the auto-plug or contact collection. A change of its labels or campaign leaves it, so it never refuses your approval. content_version is another count, which Update a post checks: it moves on every save in the app’s composer or through PUT /posts/{id}, and when the post’s content, time or accounts change. Approving doesn’t need it.
When a person changes what an approver reviews while the post waits, the people it was sent to are asked again once nobody has changed it for 10 minutes, and so is each team chat whose request has Approve buttons for an older version (the approval.requested webhook, with changed: true). The person who made the change isn’t asked. When nobody is behind, nothing is sent.
A change nobody made moves review_version too, but asks nobody again: media that was still being made gets its file (an AI image or video, whoever asked for it, or a video getting its captions), or an account the post goes to is disconnected or reconnected. You can approve a post whose media is still being made; once the file is in, an approval naming the review_version from before is refused, so read the post again and look at the file. The one exception is a scheduled post with client sign-off on: there an AI image or video a person asked for counts as their edit (see Team check, then the client).
Team check, then the client
With client approvals on, a workspace can ask its clients to sign posts off after the team. Then a post waits for two answers, one per step:- The team’s approval (
step: team) needstypeas usual, but the post keeps waiting (PENDING_APPROVAL) for the client: whattypedoes is stored, and its time is onscheduled_at. Withpublishorschedule, Slack’s and Discord’s settings are checked then (see below), so a post that can’t go out there never reaches the client. - The client’s approval (
step: client, by a Client member) takes notype, and one sent is ignored. It schedules the post at itsscheduled_atthen, or sends it at once when it has no time; a post the team approved as adraftbecomes a draft. When that time has passed, it is refused with409until the team picks a new one. When the post can’t go out as it is set up now (a setting changed after the team’s approval: it has no account left, it goes to an account a Free owner can’t post to, or Slack or Discord can’t send it), it is refused with409,Your team needs to fix a setting on this post before it can go out., and keeps waiting for the client. - Leave
stepout and a Client member answers the client step, anyone else the team step. Each step takes one answer: a second one is refused with409,Already answered by {name}., and an answer to the client step before the team approved is refused with409too. - With client sign-off on, a scheduled post waits for the client again (
PENDING_APPROVAL, a new round) when what an approver reviews changes before it goes out: a person’s edit (an accepted suggestion too), its time moved (on the calendar or by a shuffle too), or an AI image or video a person asked for getting its file (that counts as their edit). Who is asked depends on who made the change: an owner’s, admin’s or publisher’s change goes straight to the client; a change by someone who can’t publish goes through the team check first, then to the client (the file of an AI image or video they asked for, or their edit sent with Request approval: they can’t save a scheduled post otherwise). A file that lands at or after the post’s time (the post was held for it) starts a round with no time: the client’s OK sends the post at once. Media nobody asked for, captions and an account disconnected or reconnected start no round. - A failed post does the same when a person’s edit changes what an approver reviews, unless its repeats are running: it waits for the client again, and their OK sends the fixed post, at its time while that is still ahead, else at once.
- A post a publisher sent on without approval (scheduled or sent while it waited, or after changes were asked) starts no new round, and later changes to it before it goes out don’t either: it goes out as they sent it.
approval fields show the steps (The post object). Clients added by email answer from their review link, not the API. Send a post to the client now emails the client at once. After the client asked for changes, Send a post back to the client sends the changed post straight back to them.
Who can approve
- The key’s person must have a role that can approve posts in the workspace: an owner, an admin, a publisher or a client.
- An owner, an admin or a publisher 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. - In a read-only team (7 days after the owner’s plan stopped including one), only the workspace owner approves: a member’s request answers
403witherror: team_read_onlyand changes nothing. See Team read-only.
publish or schedule a post that goes to another account (its plan_allows_posting is false) is refused, unless a first week or a drop to Free covers that send (Plan limits). draft always works. To send it back to its writer instead, reject it.
Approving with publish or schedule checks Slack’s and Discord’s settings as Create a post does: a post with no channel, or with a Discord channel that isn’t the server’s (one removed or changed after the post was sent for approval, say), is refused with 422 under accounts, in words that name the account, and stays waiting for approval. Fix it in PostSyncer or with Update a post, or approve it as a draft, which isn’t checked.
Errors
Related
- Reject a post: the other answer, with a reason.
- Approvals: who answers, the two counts, and the events.
- The post object:
PENDING_APPROVAL, the other statuses andapproval. - Create a post: how a post is sent for approval.
- Other events:
approval.requested,approval.approvedandapproval.rejected. - Webhook events:
approval.requestedwithchanged: true(the post changed while it waited),approval.overridden(someone who may publish sent it without approval) andapproval.missed_time(its time came while it still waited).
Authorizations
Body
The review_version of the post you reviewed. A stale review_version is refused (409, post_changed_since_review) and nothing changes: what an approver reviews changed since, so read the post again and review the new version. A change of its labels or campaign doesn't move it. Leave it out to approve whatever the post holds now.
x >= 0Response
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, and replies in the message's thread on Slack and Discord (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 on every save through Update a post (one that only changes its labels or campaign too), its auto-plug, its contact collection or the app's composer, and when the post's content, time or accounts change. A few changes in the app leave it: its auto-repost, auto-plug, contact collection, comment moderation and labels set on their own, and unscheduling it. With client sign-off on, a change that sends a scheduled post to the client again moves it once more, so a copy read before is refused instead of putting the post back on the schedule. Send it back on Update a post: a stale content_version is 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.
Goes up by one each time what an approver reviews changes: the text, first comment and thread parts, media and their order, the accounts and their settings, the time, the repeats, the auto-plug or contact collection. Its labels, campaign and comment moderation leave it. Send it back on Approve a post or Reject a post: a stale review_version is refused (409) instead of answering about a version you didn't review.
Where the post stands with its approval, who it was sent to and who answered. null for a post that never waited for approval, and for a waiting or rejected post moved back to a draft. With client approvals on for the post's workspace, also its approval steps, when the waiting one needs an answer, and who it waits on.