Developer docs
Post approval: when a post waits for a person
An organization can ask that posts scheduled or published by integrations wait for a person. Your code gets a 202 instead of a scheduled post, and should treat it as a normal outcome.
When it applies
Post approval is off by default. An organization switches it on in its Integrations settings, separately for API tokens, apps and assistants. When it is on for the way your token came in:
- Anything an integration does that would schedule or publish a post is held instead:
POST …/posts/{postId}/schedule,POST …/posts/{postId}/publish-now,POST …/posts/{postId}/retry-failed, and the other operations that end in scheduling. - Go live announcements publish on their own, so they can't be held: setting them up through the API is refused with
422GO_LIVE_NEEDS_APPROVAL_IN_APPand done in Beplan instead. Setting them up also needs posts:publish. - A personal token used on the MCP server is held if the organization requires approval for either API tokens or assistants.
- A person scheduling by hand in Beplan always goes straight through, and settles any request waiting on that post.
It is separate from team review (posts:review, a Team Collaboration feature): a post can need both, and review comes first.
What the API answers
Every check scheduling needs still runs at request time (accounts connected and set up, media processed, platform rules, the plan's quota), so a post that could never be approved fails at once with the usual error. If everything passes, the post is not scheduled. The answer is 202, with the post as it was (a draft stays a draft) and an approval object:
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/schedule" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"scheduledAt": "2026-12-03T14:00:00.000Z"
}' const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/schedule", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"scheduledAt": "2026-12-03T14:00:00.000Z"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/schedule",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"scheduledAt": "2026-12-03T14:00:00.000Z",
},
)
response.raise_for_status()
data = response.json()["data"] Answers 202
{
"data": {
"id": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
"title": "Spring drop teaser",
"caption": "Something new lands Thursday.",
"status": "ready",
"scheduledAt": null,
"order": 0,
"formats": [],
"platforms": [
{
"platform": "linkedin",
"state": "pending",
"url": null,
"error": null
}
],
"media": [],
"mediaCount": 0,
"approval": {
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"status": "pending",
"url": "https://app.beplan.io/…"
}
}
} approval.id: the request.approval.status:pending.approval.url: the post in Beplan, where a member approves or rejects it. It needs a signed-in person; send it to your user rather than fetching it.
POST …/posts/{postId}/publish-now behaves the same way. Through MCP, schedule_post and publish_post_now answer that the post is not done yet and give the link, and whoami says in advance, per organization, whether posts from this connection need approval (postsNeedApproval).
Who decides
Any member who may schedule posts in that workspace (publish them, for a publish-now request), signed in to Beplan, including the person your integration acts for. A solo creator approves their own assistant's posts in one click; the rule is that a person looked at it.
Approving and rejecting are never possible through the API, not even for the integration that asked. Approving schedules the post as the approver (or publishes it, for publish now); if the requested time has passed, the approver picks a new one. Rejecting leaves the post unscheduled, with an optional note.
Following a request
| Status | Meaning |
|---|---|
pending |
Waiting for a person |
approved |
Scheduled or published as asked, or at the time the approver picked |
rejected |
Turned down; note may say why |
cancelled |
Withdrawn by your integration, or replaced by a newer request |
expired |
30 days without a decision, or a person scheduled the post themselves |
GET …/posts/{postId}/approval: the post's latest request, whatever its status.GET …/approval-requests: the requests your integration made in a workspace,pendingones by default.GET …/posts/{postId}:pendingApprovalis set while the post waits.DELETE …/posts/{postId}/approval: withdraw your own pending request. Only the integration that asked can (403POST_APPROVAL_NOT_REQUESTERotherwise).- Webhook events
post.approval_requested,post.approval_approved,post.approval_rejectedandpost.approval_expired.
There is one pending request per post: asking again replaces the previous one, which becomes cancelled.
Edits after approval
An approval is of the content the person read. When approval is on:
- Your integration's edit of a post that is already scheduled (its content, accounts or time) sends it back to a pending request for the same time, and its publication is held again. Linking it to a deal, or changing whether the brand may boost it, does the same.
- An edit of a post waiting for approval replaces its request with a new one for the content as it now is (the old one becomes
cancelled). - An edit landing while a person's approval is being carried out answers
409POST_CHANGED_ELSEWHERE: read the post again. - A new version or new alt text of a media used by a post that is scheduled or waiting for approval is refused with
422MEDIA_IN_POSTS_UNDER_APPROVAL.
If the organization turns approval off, your next edit of a post still waiting ends its request. Edits by a person in Beplan never do any of this.
Design for it
- Treat
202as success with a different outcome: storeapproval.id, show the person "waiting for approval" and the link, and stop. - Don't retry the schedule call to "push it through": each new request replaces the previous one.
- Learn the outcome from the webhook events (apps), or poll
GET …/posts/{postId}/approvalat a slow pace (minutes, not seconds). - Read
scheduledAtfrom the post itself rather than assuming the time you asked for: an approver may pick another. - A workspace your connection was not given answers
404WORKSPACE_NOT_FOUND; treat that as normal too (organizations and workspaces).