Search View Items
gorgias_search_view_itemsSearch and retrieve Gorgias tickets using inline view configuration with filters, ordering, and pagination. Use view_id=0 for dynamic queries without a saved view.
Instructions
PUT /api/views/{view_id}/items — Search tickets using inline view configuration. Pass view_id=0 to query dynamically without referencing a saved view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Inline view configuration specifying filters, ordering, and display fields | |
| limit | No | Maximum number of items to return per page (default: 30, max: 100) | |
| cursor | No | Pagination cursor indicating current position. Omit for the first page. | |
| view_id | Yes | The ID of the view. Use 0 to dynamically query tickets without referencing a saved view. | |
| order_by | No | Attribute used to order view items. Overrides view.order_by if specified. | |
| direction | No | Pagination direction: 'next' returns items after the cursor, 'prev' returns items before | |
| ignored_item | No | ID of a ticket to exclude from results |