Pages in Guides

Approval mode: an agent proposes, a person publishes

By Published Updated

With approval mode, an AI agent or a team member writes posts and proposes when they go out, and an Owner, Admin or Approver of the workspace approves or rejects each one. Only approved posts publish.

Approval mode is rolling out and may not be on for your workspace yet; until it is, the three operations below answer 404 and the drafts-only scope can't be chosen. Every endpoint and field is in the full API reference.

Who proposes, who approves

  • An API key or MCP connection with the posts:propose scope always proposes: Drafts only (approval mode): create and change drafts and submit them for approval. Never publishes, schedules, retries, unpublishes or edits a published post; an approver decides. posts:write includes it.
  • With the workspace setting Posts need approval on (Setup → Workspace, Owner or Admin), an Editor's posts go to approval too, from the dashboard, a key or MCP. Owners, Admins and Approvers publish directly. It is off by default.
  • Approver: Everything an Editor can do, and approves or rejects posts that wait for approval. A member limited to some platform sets approves only posts whose accounts are all in them.

Propose a post

A proposer calls posts_create as usual. Asking to publish now (publishNow), at a time (scheduledFor) or in the queue (useQueue) gives a draft that waits for approval instead, with that time as its approval.proposedFor. An existing draft is submitted with posts_submit:

terminal
curl -X POST https://api.ampost.io/api/posts/$POST_ID/submit \
  -H "Authorization: Bearer amp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "proposedFor": "2027-01-12T08:00:00.000Z"
}'

The post stays a draft, so nothing publishes it by itself, and carries an approval object:

response.json
{
  "id": "7f1c2a9e-4b1d-4c55-9a0e-2f6d8b3c1a10",
  "status": "draft",
  "targets": [
    {
      "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
      "platforms": [
        "instagram",
        "facebook"
      ]
    }
  ],
  "platforms": [
    "instagram",
    "facebook"
  ],
  "text": "Launch day (updated): Ampost publishes everywhere from one API.",
  "firstComment": "Pricing and docs: https://ampost.io",
  "linkUrl": null,
  "media": [
    {
      "url": "https://cdn.example.com/launch.mp4",
      "type": "video",
      "mimeType": "video/mp4",
      "sizeBytes": 18200000,
      "width": 1080,
      "height": 1920,
      "durationSeconds": 21,
      "altText": null,
      "thumbnailUrl": null
    }
  ],
  "mediaFit": "pad",
  "thread": [],
  "options": {
    "instagram": {
      "placement": "reel"
    },
    "facebook": {
      "text": "Launch day. Here is what we built and why."
    }
  },
  "scheduledFor": null,
  "queuePlatformSetId": null,
  "source": "api",
  "createdBy": "4e8b2d6f-1a3c-4f7e-9d5b-8c2a6e1f3b90",
  "metadata": {
    "campaignId": "launch-2026"
  },
  "platformPosts": [
    {
      "platform": "instagram",
      "accountId": "c41d8e2f-6a3b-4f9c-b1e5-7d2a9c4e6f80",
      "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
      "status": "pending",
      "platformPostId": null,
      "publishedUrl": null,
      "text": null,
      "error": null,
      "notice": null,
      "warnings": [],
      "attempts": 0,
      "nextAttemptAt": null,
      "firstComment": null,
      "mediaTransforms": null,
      "thread": null,
      "createdAt": "2026-10-06T09:00:00.000Z",
      "updatedAt": "2026-10-07T12:00:00.000Z"
    },
    {
      "platform": "facebook",
      "accountId": "8d3b6f1a-2c9e-4a7d-b5f3-1e6a9c2d7b30",
      "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
      "status": "pending",
      "platformPostId": null,
      "publishedUrl": null,
      "text": null,
      "error": null,
      "notice": null,
      "warnings": [],
      "attempts": 0,
      "nextAttemptAt": null,
      "firstComment": null,
      "mediaTransforms": null,
      "thread": null,
      "createdAt": "2026-10-06T09:00:00.000Z",
      "updatedAt": "2026-10-07T12:00:00.000Z"
    }
  ],
  "createdAt": "2026-10-06T09:00:00.000Z",
  "updatedAt": "2026-10-07T12:00:00.000Z",
  "approval": {
    "status": "pending",
    "proposedFor": "2027-01-12T08:00:00.000Z",
    "reason": null,
    "requestedBy": "4e8b2d6f-1a3c-4f7e-9d5b-8c2a6e1f3b90",
    "requestedAt": "2026-10-07T12:00:00.000Z",
    "decidedBy": null,
    "decidedAt": null
  }
}

A proposer can't publish, schedule, retry, unpublish or edit a published post: an Editor gets 403 APPROVAL_REQUIRED. A drafts-only key has no scope for publish, retry, unpublish and edit-published: they answer 403 INSUFFICIENT_SCOPE and MCP doesn't list them. A proposer may change and discard its drafts. List the waiting posts with approvalStatus=pending on posts_list.

Approve or reject

Approvers get an email and see the waiting count on the dashboard's Posts page. posts_approve schedules the post for its proposed time when that is still ahead (see scheduling), and publishes it right away when the time has passed or none was proposed:

terminal
curl -X POST https://api.ampost.io/api/posts/$POST_ID/approve \
  -H "Authorization: Bearer amp_live_YOUR_KEY"

posts_reject needs a reason. It is stored on the post as approval.reason, so the agent can read it, fix the draft and submit it again:

terminal
curl -X POST https://api.ampost.io/api/posts/$POST_ID/reject \
  -H "Authorization: Bearer amp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reason": "The launch moved to 14 January. Change the date and submit it again."
}'

Only an Owner, Admin or Approver may decide (403 APPROVER_ROLE_REQUIRED otherwise), and only on a waiting post (409 NOT_PENDING_APPROVAL). Publishing or scheduling a waiting post as an approver counts as approving it.

Webhook events

  • post.approval_requested: Approval mode: a post was submitted for approval and waits for an approver. data.post (its approval holds proposedFor).
  • post.approved: Approval mode: an approver approved a post; it is scheduled at its proposed time or publishing now. data.post.
  • post.rejected: Approval mode: an approver rejected a post; it stays a draft. data.post, with the reason in approval.reason.

From an AI agent

Connect the agent over MCP and allow Posts: Propose (drafts only) on the consent screen, or give it a key with that level. Its usual posts_create calls then wait for you. The approval tools are listed only where approval mode is on. See Set up the MCP server.