Ticket Lookup
Look up ticket information by token.
Endpoint
POST /v1/tickets/{token}
Description
This endpoint retrieves detailed information about a ticket using its token.
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication |
| X-Session-Id | string | Yes | Session ID from the session endpoint |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | Yes | The ticket token to look up |
Response
200 OK
{
"ticketId": "ticket-123",
"eventId": "event-123",
"eventName": "Concert Name",
"section": "A",
"row": "1",
"seat": "23",
"status": "valid",
"scanCount": 0
}
Error Responses
| Status Code | Description |
|---|---|
| 400 | Invalid token format |
| 401 | Unauthorized |
| 403 | Invalid or expired session |
| 404 | Ticket not found |
| 500 | Internal server error |