Pages in API reference

Posts

Approve a waiting post

POST/api/posts/:postId/approve

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.
Key scope
posts:write
MCP tool
posts_approve
Retries
Safe with an Idempotency-Key

Headers

  • Authorizationstringrequired

    Bearer <API key>. Create a key in the dashboard under API keys.

  • Idempotency-Keystring

    A unique value per logical request, so a retry never creates a second post. See Idempotency.

Path parameters

  • postIdstringrequired

    Post id (UUID): id from posts_list or posts_create

Errors return { error: { code, message } }; every code is in Error codes.