# Approve a waiting post

Source: https://ampost.io/docs/api/posts-approve · Full reference: https://ampost.io/llms-full.txt

`POST /api/posts/{postId}/approve` · MCP tool `posts_approve` · scope `posts:write` · rate limit `publishPost` · success `200`

Approve a post that waits for approval: it is scheduled at its `approval.proposedFor`, or published now when no time was proposed or the time has passed (check `platformPosts` as after posts_publish). Plan limits apply as when you schedule or publish. 403 APPROVER_ROLE_REQUIRED unless you are an Owner, Admin or Approver of the workspace; 409 NOT_PENDING_APPROVAL when the post does not wait for approval.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `postId` | path | string | yes | Post id (UUID): `id` from posts_list or posts_create |
| `Idempotency-Key` (MCP `idempotencyKey`) | header | string | no | Idempotency key (1-255 visible ASCII characters, for example a UUID). A retry with the same key and arguments within 24 hours returns the first result instead of running again. Send a new key for each new action. See Idempotency. |

Example response. The proposed time was still ahead, so the post is scheduled at it. A time already past publishes it now.

```json
{
  "id": "7f1c2a9e-4b1d-4c55-9a0e-2f6d8b3c1a10",
  "status": "scheduled",
  "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": "2027-01-12T08:00:00.000Z",
  "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": "approved",
    "proposedFor": "2027-01-12T08:00:00.000Z",
    "reason": null,
    "requestedBy": "4e8b2d6f-1a3c-4f7e-9d5b-8c2a6e1f3b90",
    "requestedAt": "2026-10-07T12:00:00.000Z",
    "decidedBy": "9c3f5a1e-7b2d-4e8f-a6c1-2d9e4b7f0a35",
    "decidedAt": "2026-10-07T15:30:00.000Z"
  }
}
```
