Retrieves a list of HubSpot tickets within the specified date range and pagination window. Supports filtering by agent, feedback category, search keyword, and department code.
Notes: - If the calculated pageSize (endIndex - startIndex) exceeds 50, it is automatically resized to 50. - search looks into the following fields: content, chauffeur_name, passenger_name, and subject. - agentInvolved and feedbackCategory must match values returned from the /hubspot/tickets/list/filters endpoint. - departmentCode must be a valid department code in the system. - closedOnly must be a “false”/“true” in string default ‘false’. Returns only closed tickets
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
| Parameter | Type | Required | Description |
|---|---|---|---|
| startDate | string | Yes | Start date for filtering tickets (inclusive) |
| endDate | string | Yes | End date for filtering tickets (inclusive) |
| startIndex | integer | Yes | Starting index for pagination |
| endIndex | integer | Yes | Ending index for pagination (max page size = 50) |
YYYY-MM-DD (ISO 8601 date)| Parameter | Type | Required | Description |
|---|---|---|---|
| agentInvolved | string | No | Filter by agent (from filters endpoint) |
| feedbackCategory | string | No | Filter by category (from filters endpoint) |
| search | string | No | Search keyword across multiple fields |
| departmentCode | string | No | Valid department code filter |
| closedOnly | string | No | ”true”/“false” - return only closed tickets |
/hubspot/tickets/list/filters/hubspot/tickets/list/filterscontent, chauffeur_name, passenger_name, and subject| Field | Type | Description |
|---|---|---|
| ticketId | string | Unique HubSpot ticket identifier |
| subject | string | Ticket subject line |
| feedbackCategory | string | Feedback category assigned to ticket |
| agentInvolved | string | Agent handling the ticket |
| status | string | Current ticket status (open, closed, etc) |
| createdAt | string | Ticket creation timestamp (ISO 8601) |
| updatedAt | string | Last update timestamp (ISO 8601) |
| priority | string | Ticket priority level |
| departmentCode | string | Department code associated with ticket |
| passenger_name | string | Passenger name (if available) |
| chauffeur_name | string | Chauffeur name (if available) |
| content | string | Ticket content/description |
/hubspot/tickets/list/filters to get filter options/hubspot/ticket-details/{ticketId} for full ticket details/hubspot/tickets/list/export to export filtered resultsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Start date for filtering tickets (inclusive)
End date for filtering tickets (inclusive)
Starting index for pagination
x >= 0Ending index for pagination (max page size = 50)
x >= 1Filter by agent (must be one of the agents returned from /hubspot/tickets/list/filters)
Filter by category (must be one of the categories returned from /hubspot/tickets/list/filters)
Keyword to search across multiple fields — content, chauffeur_name, passenger_name, and subject.
Valid department code to filter tickets by department
closedOnly must be a "false"/"true" in string default 'false'. Returns only closed tickets.