List tickets
deskpro_list_ticketsList tickets, filtered by status, assigned agent, requester, organization, department or labels, and sorted. Returns ticket objects (id, ref, subject, ticket_status, agent, person, department, urgency, labels, dates) plus pagination meta. Deskpro: GET /api/v2/tickets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Fetch exactly these ticket ids (comma-separated). | |
| page | No | Page number, starting at 1. | |
| agent | No | Only tickets assigned to this agent id. | |
| count | No | Results per page, 1-200. | |
| labels | No | Only tickets with these labels (comma-separated). | |
| person | No | Only tickets raised by this person id. | |
| status | No | Only tickets in this status, e.g. awaiting_agent, awaiting_user, pending, resolved. | |
| include | No | Comma-separated related object types to side-load into the response's `linked` section, e.g. person,agent,department,organization. | |
| order_by | No | Sort field. | |
| department | No | Only tickets in this department id. | |
| group_sort | No | Sort direction. | |
| organization | No | Only tickets from this organization id. |