List Messages
gorgias_list_messagesFetch Gorgias helpdesk messages with pagination and filtering. Specify ticket ID, sort order, and use cursors to navigate results.
Instructions
GET /api/messages — List messages across all tickets with cursor-based pagination. Optionally filter to a specific ticket with ticket_id. Results ordered by created_datetime descending by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to return per page (default: 30, max: 100) | |
| cursor | No | Pagination cursor from a previous response's meta.next_cursor or meta.prev_cursor. Omit to start from the first page. | |
| order_by | No | Sort order for messages (default: created_datetime:desc) | |
| ticket_id | No | Filter messages to those belonging to a specific ticket ID |