Mark ticket as spam

POST {{baseUrl}}/api/v1/tickets/markSpam

This API marks tickets as spam.

OAuth Scope

  • Desk.tickets.UPDATE

Attributes

Attribute NameData TypeDescription
isSpam (required)<boolean>
Key that marks or unmarks a single ticket or multiple tickets as spam
ids (required)<list>
ID(s) of the ticket(s) that must be marked or unmarked as spam
contactSpam<boolean>
Key that marks or unmarks the associated contact as spam
handleExistingTickets<boolean>
Key that marks or unmarks the other tickets from the contact(s) as spam

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

&quot;&quot;