Get detailed information of a specific HubSpot ticket
Ticket Management
Get Ticket Details
Retrieves the full details of a single HubSpot ticket using its unique ticketId. Requires authentication and a valid HubSpot ticket ID.
The endpoint validates the ticket ID before fetching data and returns complete ticket metadata including content, related contacts, categories, and assigned agent.
GET
Get detailed information of a specific HubSpot ticket
Retrieves the full details of a single HubSpot ticket using its unique ticketId. Requires authentication and a valid HubSpot ticket ID. The endpoint validates the ticket ID before fetching data and returns complete ticket metadata including content, related contacts, categories, and assigned agent.
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ticketId | string | Yes | Unique HubSpot ticket identifier |
Parameter Details
- ticketId: Must be a valid HubSpot ticket ID
- Format: String identifier from HubSpot system
- Validation: Endpoint validates ticket ID before processing
Response
200 OK - Successfully retrieved ticket details
400 Bad Request
404 Not Found
401 Unauthorized
500 Internal Server Error
Example
Data Fields Explained
Core Ticket Information
| Field | Type | Description |
|---|---|---|
| ticketId | string | Unique HubSpot ticket identifier |
| subject | string | Ticket subject line |
| content | string | Full ticket content/description |
| feedbackCategory | string | Feedback category assigned to ticket |
| agentInvolved | string | Agent handling the ticket |
| status | string | Current ticket status |
| priority | string | Ticket priority level (low, medium, high) |
Timestamps
| Field | Type | Description |
|---|---|---|
| createdAt | string | Ticket creation timestamp (ISO 8601) |
| updatedAt | string | Last update timestamp (ISO 8601) |
| closedAt | string | Ticket closure timestamp (ISO 8601) |
Service Information
| Field | Type | Description |
|---|---|---|
| departmentCode | string | Department code associated with ticket |
| reservation_id | string | Associated reservation ID |
| pickup_location | string | Pickup location details |
| dropoff_location | string | Dropoff location details |
| scheduled_time | string | Scheduled service time (ISO 8601) |
| actual_time | string | Actual service time (ISO 8601) |
| delay_minutes | integer | Delay in minutes (if applicable) |
People Information
| Field | Type | Description |
|---|---|---|
| passenger_name | string | Passenger name |
| passenger_email | string | Passenger email address |
| passenger_phone | string | Passenger phone number |
| chauffeur_name | string | Chauffeur name |
| chauffeur_id | string | Chauffeur ID |
Additional Information
| Field | Type | Description |
|---|---|---|
| resolution_notes | string | Notes about ticket resolution |
| tags | array | Tags associated with ticket |
| custom_properties | object | Custom HubSpot properties |
| associated_contacts | array | Related contact information |
| activity_log | array | Ticket activity history |
Use Cases
- Ticket Details View: Display complete ticket information
- Customer Service: Provide detailed ticket history
- Analytics: Analyze ticket patterns and details
- Reporting: Generate detailed ticket reports
- Audit Trail: Track ticket activity and changes
Implementation Examples
React Ticket Detail Component
Activity Timeline Component
Ticket Status Badge
Best Practices
- Error Handling: Handle ticket not found and invalid ID cases
- Loading States: Show loading indicators while fetching details
- Data Validation: Validate ticket ID format before API call
- Caching: Cache ticket details for short periods
- Responsive Design: Ensure detail view works on mobile devices
Performance Considerations
- Data Size: Ticket details can be large with activity logs
- API Calls: Minimize unnecessary detail API calls
- Images: Handle any associated images efficiently
- Real-time Updates: Consider WebSocket for live updates
Related Endpoints
- Use
/hubspot/tickets/listto browse and find tickets - Use
/hubspot/tickets/list/filtersfor filter options - Use
/hubspot/tickets/list/exportto export ticket data
Notes
- Ticket details include all available HubSpot properties
- Activity log shows chronological ticket history
- Associated contacts include passengers, chauffeurs, and staff
- Custom properties vary based on HubSpot configuration
- Response time depends on ticket complexity and activity log size
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique HubSpot Ticket ID