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
Key | Datatype | Required | Description |
---|---|---|---|
sort_by | string | Sort by | |
sort_order | string | Sort order. Defaults to "asc" |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"count":1,"deleted_tickets":[{"actor":{"id":3946,"name":"Taz Wombat"},"deleted_at":"20140704T15:37:04Z","id":581,"previous_state":"open","subject":"Wombat Party"}],"next_page":null,"previous_page":null}