# 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`](https://beplan.io/docs/api/posts/#posts.schedule), [`POST …/posts/{postId}/publish-now`](https://beplan.io/docs/api/posts/#posts.publishNow), [`POST …/posts/{postId}/retry-failed`](https://beplan.io/docs/api/posts/#posts.retryFailed), 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 `422` [`GO_LIVE_NEEDS_APPROVAL_IN_APP`](https://beplan.io/docs/api/errors/#GO_LIVE_NEEDS_APPROVAL_IN_APP) and done in Beplan instead. Setting them up also needs [`posts:publish`](https://beplan.io/docs/oauth/scopes/#scope-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`](https://beplan.io/docs/oauth/scopes/#scope-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:

Example (The organization requires approval: the post waits for a person), `POST /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/schedule`:

```bash
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"
}'
```

```typescript
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();
```

```python
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:

```json
{
  "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`](https://beplan.io/docs/api/posts/#posts.publishNow) behaves the same way. Through MCP, [`schedule_post`](https://beplan.io/docs/mcp/tools/#tool-schedule_post) and [`publish_post_now`](https://beplan.io/docs/mcp/tools/#tool-publish_post_now) answer that the post is not done yet and give the link, and [`whoami`](https://beplan.io/docs/mcp/tools/#tool-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`](https://beplan.io/docs/api/posts/review-and-approval/#posts.approval.get): the post's latest request, whatever its status.
- [`GET …/approval-requests`](https://beplan.io/docs/api/posts/review-and-approval/#posts.approvalRequests.list): the requests your integration made in a workspace, `pending` ones by default.
- [`GET …/posts/{postId}`](https://beplan.io/docs/api/posts/#posts.get): `pendingApproval` is set while the post waits.
- [`DELETE …/posts/{postId}/approval`](https://beplan.io/docs/api/posts/review-and-approval/#posts.approval.cancel): withdraw your own pending request. Only the integration that asked can (`403` [`POST_APPROVAL_NOT_REQUESTER`](https://beplan.io/docs/api/errors/#POST_APPROVAL_NOT_REQUESTER) otherwise).
- Webhook events [`post.approval_requested`](https://beplan.io/docs/webhooks/events/#event-post.approval_requested), [`post.approval_approved`](https://beplan.io/docs/webhooks/events/#event-post.approval_approved), [`post.approval_rejected`](https://beplan.io/docs/webhooks/events/#event-post.approval_rejected) and [`post.approval_expired`](https://beplan.io/docs/webhooks/events/#event-post.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 `409` [`POST_CHANGED_ELSEWHERE`](https://beplan.io/docs/api/errors/#POST_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 `422` [`MEDIA_IN_POSTS_UNDER_APPROVAL`](https://beplan.io/docs/api/errors/#MEDIA_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 `202` as success with a different outcome: store `approval.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}/approval`](https://beplan.io/docs/api/posts/review-and-approval/#posts.approval.get) at a slow pace (minutes, not seconds).
- Read `scheduledAt` from the post itself rather than assuming the time you asked for: an approver may pick another.
- A workspace your connection was not given answers `404` [`WORKSPACE_NOT_FOUND`](https://beplan.io/docs/api/errors/#WORKSPACE_NOT_FOUND); treat that as normal too ([organizations and workspaces](https://beplan.io/docs/concepts/organizations/#what-a-narrowed-connection-sees)).

---
HTML version: https://beplan.io/docs/concepts/approval/
