GET /api/v1/tickets/
Retrieves complete information about a technical support ticket using its unique ID. This endpoint extracts essential elements such as the opening date, assigned priority, and checks the history to retrieve the latest response or current resolution status recorded in the external system.Path Parameters
The unique identifier of the ticket to retrieve
Response
The endpoint returns aBackendResponse wrapper with the following structure:
Indicates if the request was successful
Response type:
success or infoAction identifier for the response. Possible values:
ticket_found- Ticket successfully retrievedticket_not_found- No ticket exists with the provided ID
The ticket data object when found, or null if not found
Optional message providing additional context
Optional metadata
Example Responses
Response Handling
The response always has
ok: true even when a ticket is not found. Check the action field to determine if the ticket exists:ticket_found: Ticket data is available in thedatafieldticket_not_found: Thedatafield will be null
Ticket Status Values
Thestatus_ticket field represents the current state of the ticket. Common values include:
- Abierto: Newly created, awaiting assignment or action
- En Progreso: Actively being worked on by a technician
- Cerrado: Resolved and closed
Resolution Date Calculation
Theend_date field represents the estimated or actual resolution date:
- Automatically calculated when a ticket is created
- Based on
MAX_TICKET_RESOLUTION_DAYSsetting (default: 3 business days) - Excludes weekends and holidays from the calculation
- May be updated when ticket status changes
