Example use cases
-
Get recent tickets assigned to me that are open
-
Get all tickets from customer A that are high priority in the last 30 days
-
Find tickets with the word ‘refund’ that are unresolved
-
List all escalated tickets for a specific team
-
Get tickets created by a specific requestor in the last week
Ticket search response fields
Below are all the fields you may see in a ticket search result. Many are optional and will only appear if included in yourinclude_fields parameter.
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier of the ticket |
| ticketIdentifier | string | Ticket identifier (e.g. SPO-42260) |
| title | string | Title of the ticket |
| description | string | Description of the ticket |
| teamUid | string | Team UID |
| organizationUid | string | Organization UID |
| statusName | string | Status name (e.g. Resolved) |
| priorityName | string | Priority name (e.g. Medium) |
| createdAt | string | Creation timestamp (ISO8601) |
| updatedAt | string | Last update timestamp (ISO8601) |
| assignedAgentName | string | Name of the assigned agent |
| accountName | string | Name of the associated account |
| accountPrimaryDomain | string | Primary domain of the account |
| accountWebsite | string | Website of the account |
| accountAnnualRevenue | string | Annual revenue of the account |
| accountEmployees | string | Number of employees in the account |
| accountOwnerId | string | Account owner ID |
| accountOwnerEmail | string | Account owner email |
| accountOwnerName | string | Account owner name |
| accountOwnerUserType | string | Account owner user type |
| accountOwnerStatus | string | Account owner status |
| accountOwnerTimezone | string | Account owner timezone |
| contactEmail | string | Contact email |
| contactName | string | Contact name |
| contactPhone | string | Contact phone |
| dueDate | string | Due date |
| teamIdentifier | string | Team identifier |
| … | … | [Many more fields, including SLA fields, see API reference for full list] |
For a full list, see the TicketSearchResponseDto in the API reference.
Tip: Use the
include_fields parameter to limit the response to only the fields you need for performance and clarity.