Ticket

Close a ticket as spam (agent verdict)

Changed on

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

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/tickets/{ticketId}/close-as-spam
  • Auth
    HTTP bearer

Path parameters

ticketIdstring required

Headers

projectstring required

Request body

reasonstring

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

Response

Ok

unknown required

Changes