Exports HubSpot tickets based on selected filters, columns, and department. The response returns a downloadable file (Excel, CSV, or JSON) depending on the requested format.
xlsx.| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
| Content-Type | string | Yes | application/json |
| Field | Type | Required | Description |
|---|---|---|---|
| format | string | Yes | Output file format (xlsx, csv, json) |
| columns | array | Yes | List of ticket fields to include |
| departmentCode | string | No | Department code to filter tickets |
xlsx - Microsoft Excel formatcsv - Comma-separated values formatjson - JSON array formatticketId, subject, content, feedbackCategory, agentInvolved, status, priority, createdAt, updatedAt, closedAt, departmentCode, passenger_name, passenger_email, passenger_phone, chauffeur_name, chauffeur_id, reservation_id, pickup_location, dropoff_location, scheduled_time, actual_time, delay_minutes, resolution_notes, tags/hubspot/tickets/list to preview data before export/hubspot/tickets/list/filters to understand available data/hubspot/ticket-details/{ticketId} for detailed ticket informationBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Output file format. Must be one of: - xlsx for Excel - csv for CSV - json for JSON
xlsx, csv, json "xlsx"
List of ticket fields to include in the export.
[
"ticketId",
"subject",
"feedbackCategory",
"agentInvolved",
"createdAt"
]Optional department code to filter exported tickets. Must be a valid department code.
"OPS"
Successfully generated export file
Downloadable export file (Excel, CSV, or JSON)