Skip to main content

Batch Decide Approval Cards

POST 

/api/support/agent/approvals/batch-decide

Approves several status cards in one go — the low-risk "mark this resolved / close this duplicate" proposals. All or nothing: if any card is not a status card the request is refused with a 422 and nothing is decided; if any card is no longer open (already decided or superseded) it is refused with 409, data carries that card, and nothing is decided. Every other kind of card must be decided one at a time with Decide Approval Card.

Required scope: support:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Each approved card records an approval_decided event on its ticket, exactly as a single decision would.

Request body

  • ids[] (array of integers, required, 1–100, distinct) — the card ids
  • action (string, required) — must be approve

The response is the decided cards, as a plain array (fields as in List Approval Cards).

Authentication: Bearer token with the support:write scope, or an authenticated session, from a caller with an active support role that can work tickets — a viewer is refused with 403. No tenant context — this endpoint is central.

Request​

Responses​

OK

Response Headers
    Content-Type