List tickets
enchant_list_ticketsRead-only
List and filter tickets (newest first by default). Enchant REST: GET /tickets. Use user_ids ["null"] for unassigned tickets. Each result has a short summary; use enchant_get_ticket for messages.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Only these ticket ids. | |
| page | No | Page number (1-based). Past 10,000 results, filter by since_created_at instead. | |
| sort | No | Sort order; a leading - means descending. | |
| spam | No | Only spam (true) or only non-spam (false) tickets. | |
| count | No | If true, also return the total number of matching results (costs 1 extra rate-limit credit). | |
| trash | No | Only trashed (true) or only non-trashed (false) tickets. | |
| types | No | Ticket types, e.g. email, chat, sms, phone, web, twitter, whatsapp. | |
| states | No | Only tickets in these states. | |
| per_page | No | Results per page (0-100, default 10). Use 0 with count to get only the total. | |
| user_ids | No | Only tickets assigned to these user ids ("null" = unassigned). | |
| inbox_ids | No | Only tickets in these inbox ids. | |
| label_ids | No | Only tickets with these label ids. | |
| since_created_at | No | Only tickets created since this UTC ISO 8601 time, e.g. 2026-01-31T13:41:10Z. | |
| since_updated_at | No | Only tickets updated since this UTC ISO 8601 time. |