List deleted tickets

GET {{baseUrl}}/api/v2/deleted_tickets?sort_by=<string>&sort_order=<string>

Returns a maximum of 100 deleted tickets per page. See Pagination.

The results includes all deleted (and not yet archived) tickets that have not yet been scrubbed in the past 30 days. Archived tickets are not included in the results. See About archived tickets in the Support Help Center.

The tickets are ordered chronologically by created date, from oldest to newest. The first ticket listed may not be the oldest ticket in your account due to ticket archiving.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

Returns a maximum of 100 records per page.

Allowed For

  • Agents

Rate Limit

You can make 10 requests every 1 minute using this endpoint. When making requests beyond page 100, you can make 5 requests every 1 minute. The rate limiting mechanism behaves as described in Monitoring your request activity in the API introduction.

Request Params

KeyDatatypeRequiredDescription
sort_bystringSort by
sort_orderstringSort order. Defaults to "asc"

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;count&quot;:1,&quot;deleted_tickets&quot;:[{&quot;actor&quot;:{&quot;id&quot;:3946,&quot;name&quot;:&quot;Taz Wombat&quot;},&quot;deleted_at&quot;:&quot;20140704T15:37:04Z&quot;,&quot;id&quot;:581,&quot;previous_state&quot;:&quot;open&quot;,&quot;subject&quot;:&quot;Wombat Party&quot;}],&quot;next_page&quot;:null,&quot;previous_page&quot;:null}