POST /v1/replies/:id/reject
POST
scope: replies.approve
0 credits
/v1/replies/:id/rejectReject a pending draft. The suggestion is removed, the reply stays unanswered. Idempotent: an already-rejected draft returns 200 with already_rejected: true.
Parameters
| Field | Type | Description | |
|---|---|---|---|
approver | string | required | Name or ID of the person rejecting |
reason | string | optional | Reason 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—approverfield missing404 not_found— Reply not found409 already_sent— Reply has already been sent