16a183beaef3

latestOpenAPI 3.0.02026-08-11267297516.7 KB
Ticket

Close a ticket as spam (agent verdict)

CLOSE a ticket as spam (agent/MCP verdict): sets the done status, flags + archives it into the Spam review queue, and suppresses every customer-facing follow-up — no CSAT, no notifications, no knowledge extraction. Unlike the manual PUT {ticketId}/spam above it does NOT block the contact: agent verdicts stay recoverable (a genuine customer reply un-flags the ticket). Used by the Gleap MCP's close_ticket (asSpam) and the classic close_as_spam tool.

put/tickets/{ticketId}/close-as-spam

Path parameters

ticketIdstring required

Headers

projectstring required

Request body

reasonstring

Short internal justification shown in the activity log / status reason.

Response

Ok

{"stackTrail":"paths:/tickets/{ticketId}/close-as-spam:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}