List tickets
edesk_list_ticketsList support tickets from all channels with subject, type, status, channel, owner, contact, linked sales order id, tag ids, message ids, reply count and AI classification. Filter by status, type, channel, contact, owner, sales order, seller (marketplace) order id and last-updated date. GET /tickets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| type | No | Only tickets of this type. | |
| status | No | Only tickets with this status. | |
| order_by | No | Sort field. | |
| channel_id | No | Only tickets on this channel (see edesk_list_channels). | |
| contact_id | No | Only tickets of this contact (customer). | |
| owner_user_id | No | Only tickets assigned to this user. | |
| updated_after | No | Only tickets last updated on or after this date, yyyy-mm-dd. | |
| items_per_page | No | Results per page, 1-100 (default 25). | |
| sales_order_id | No | Only tickets linked to this eDesk sales order id. | |
| updated_before | No | Only tickets last updated on or before this date, yyyy-mm-dd. | |
| order_direction | No | Sort direction. | |
| seller_order_id | No | Only tickets for this marketplace order id (the id the marketplace shows). |