customer_service

Mark Spam

Block the sender, close the ticket, hide it from every normal surface -- see service.mark_ticket_spam's own docstring for the shared suppress-then-close machinery this reuses (the same shape /tickets/{id}/not-interested above already proved) and migrations/0075_ticket_spam.sql for why hiding is a flag, not a status.

post/api/cs/tickets/{ticket_id}/spam

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

ticket_id, string uuid required

Request body

MarkSpamRequest required

Frederick, 2026-07-30: "I should just block that sender, and then close that ticket out and remove it from the queue." scope defaults to 'address' -- deliberately narrower than not_interested's domain default; a domain-wide block must be a choice the caller makes, never automatic.

scope, string
resolve_action_item_id, string uuid nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.