Reject a waiting post
POST
/api/posts/:postId/rejectReject a post that waits for approval, with a reason its author reads in approval.reason.
- The post stays a draft, to change and submit again. 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_reject
Headers
AuthorizationstringrequiredBearer <API key>. Create a key in the dashboard under API keys.
Path parameters
postIdstringrequiredPost id (UUID):
idfrom posts_list or posts_create
Body
reasonstringrequiredWhy it is rejected, up to 1000 characters. Stored on the post (
approval.reason) for the proposer, its API key or agent, and sent in thepost.rejectedwebhook event.
Errors return { error: { code, message } }; every code is in Error codes.