Skip to main content

POST /v1/replies/:id/reject

POST/v1/replies/:id/reject
scope: replies.approve 0 credits

Reject a pending draft. The suggestion is removed, the reply stays unanswered. Idempotent: an already-rejected draft returns 200 with already_rejected: true.

Parameters​

FieldTypeDescription
approverstringrequiredName or ID of the person rejecting
reasonstringoptionalReason for rejection (logged in the Decision Trail)

Request​

{
"approver": "Daley van Nooij",
"reason": "Tone doesn't match client brand"
}

Response (200) — rejected​

{
"status": "rejected",
"reply_id": "uuid",
"approver": "Daley van Nooij"
}
Errors
  • 400 invalid_request — approver field missing
  • 404 not_found — Reply not found
  • 409 already_sent — Reply has already been sent