Get a ticket
Returns one ticket by ID: its attendee's name and email, status, check-ins, metadata, and the attendee's answers on events that collect attendee details.
/v1/tickets/:ticketIdAuthorization
api_key_auth API key authentication. Use "Bearer YOUR_API_KEY" format.
In: header
Path Parameters
The ID of the ticket to retrieve.
^[0-9a-fA-F]{24}$
Query Parameters
Set to false to return test-mode records created while a page was in test mode. Defaults to the mode of the API key. Test API keys can only read test data.
truefalseReturns
Ticket retrieved successfully
A single admission ticket held by one attendee, created when an event booking is paid. Read-only.
- idstring
Unique identifier for the ticket.
- sellerIdstring
Id of the seller account the ticket belongs to.
- bookingIdstring
Id of the booking (Charge) this ticket was created from. A booking of three tickets produces three ticket records sharing one
bookingId. Retrieve it with the bookings endpoint. - orderIdstring
Human-readable order reference shared by every ticket in the same booking. Shown to the customer on receipts and tickets.
- pageIdstring
Id of the event page the ticket was purchased from.
- ticketTypeIdstring
Id of the ticket type purchased (e.g. General Admission, VIP). Ticket types belong to a ticket group on the event.
- originalPricenumber
Price of the ticket before any discounts, coupons, taxes or fees, in the smallest currency unit (e.g. cents).
- pricing?string
Pricing model of the ticket type at the time of purchase.
paidis a fixed price,pwywmeans the buyer chose the amount,freeis a zero-price ticket. Absent on tickets created before this field existed.paidpwywfree - discountAmountnumber
Bulk discount allocated to this ticket, in the smallest currency unit. Booking-level discounts are apportioned across the tickets in the booking.
- feeAmountnumber
Booking fees allocated to this ticket, in the smallest currency unit. Booking-level fees are apportioned across the tickets in the booking.
- taxAmountnumber
Tax allocated to this ticket, in the smallest currency unit. Booking-level tax is apportioned across the tickets in the booking.
- couponAmountnumber
Coupon discount allocated to this ticket, in the smallest currency unit. Booking-level coupon discounts are apportioned across the tickets in the booking.
- complimentaryAmount?number, nullable
Face value and booking fee forgone on a complimentary booking, in the smallest currency unit. 0 otherwise.
- revenuenumber
Revenue attributed to this ticket, in the smallest currency unit:
originalPrice - discountAmount - couponAmount - complimentaryAmount + taxAmount + feeAmount. Use this rather than summing the parts yourself. - currency?string
Lowercase ISO 4217 currency code for every amount on the ticket (e.g. "usd").
- customerIdstring
Id of the customer who booked the ticket.
- ticketShortIdstring
Short uppercase alphanumeric code identifying the ticket (e.g. "A1B2C3D4"). Printed on the ticket and quoted by guests at the door — search on it to find a specific attendee.
- checkInCodestring
Check-in credential for this ticket. Encode it as a QR code for the Checkout Page check-in scanner, or post it to the ticket validation endpoint, to admit the guest. Treat the value as opaque - its format may change.
- statusstring
Lifecycle state of the ticket.
PAIDis valid for admission,CANCELEDwas canceled by the seller and must not be admitted. A refund alone never cancels a ticket.PAIDCANCELED Full check-in history, oldest first. Empty when the guest has never been checked in. A guest checked in and back out again has multiple entries.
Most recent entry from
checkIns, denormalised for filtering. Absent when the guest has never been checked in — treat that as not checked in.- attendeeName?string
Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time; editable via the ticket update endpoint.
- attendeeEmailstring
Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time; editable via the ticket update endpoint.
The attendee's answers to the event's attendee questions and whether they were flagged for review, on events that collect attendee details. Absent until there is an answer or a flag. The attendee's name and email are
attendeeNameandattendeeEmail.- livemodeboolean
Whether the ticket came from a live payment. Test-mode tickets are never returned by the seller API.
- orderedAtstring
ISO-8601 UTC timestamp the booking was placed. Matches across every ticket in the same booking.
date-time
- canceledAt?string
ISO-8601 UTC timestamp the ticket was canceled. Absent while the ticket is valid.
date-time
- cancelReason?string
Why the seller canceled this ticket. Set only when the ticket was canceled on its own: when the whole booking is canceled, the reason is kept on the booking.
- canceledBy?string
ID of the dashboard user who canceled this ticket. Set only when the ticket was canceled on its own.
Custom key/value entries attached to the ticket, typically written by door staff during check-in. Maximum 20 entries.
- createdAtstring
ISO-8601 UTC timestamp the ticket record was created.
date-time
- updatedAtstring
ISO-8601 UTC timestamp the ticket record was last updated.
date-time
- idstring
Bad request - Invalid request parameters
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Unauthorized - Missing or invalid API key
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Forbidden - Insufficient permissions or validation error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Ticket not found
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Rate Limit Exceeded - Please try again later.
- messagestring
Human-readable error message.
Internal server error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
// The SDK has no method for this endpoint yet. Use the cURL tab.{
"data": {
"id": "65f4a1c2e4a9f3d2b1c0a9e8",
"sellerId": "65f4a1c2e4a9f3d2b1c0a9e8",
"bookingId": "65f4a1c2e4a9f3d2b1c0a9e8",
"orderId": "string",
"pageId": "65f4a1c2e4a9f3d2b1c0a9e8",
"ticketTypeId": "65f4a1c2e4a9f3d2b1c0a9e8",
"originalPrice": 0,
"pricing": "paid",
"discountAmount": 0,
"feeAmount": 0,
"taxAmount": 0,
"couponAmount": 0,
"complimentaryAmount": 0,
"revenue": 0,
"currency": "string",
"customerId": "65f4a1c2e4a9f3d2b1c0a9e8",
"ticketShortId": "string",
"checkInCode": "string",
"status": "PAID",
"checkIns": [
{
"status": "UNCHECKEDIN",
"method": "QRSCAN",
"checkedInBy": "65f4a1c2e4a9f3d2b1c0a9e8",
"checkedInAt": "2019-08-24T14:15:22Z"
}
],
"latestCheckIn": {
"status": "UNCHECKEDIN",
"method": "QRSCAN",
"checkedInBy": "65f4a1c2e4a9f3d2b1c0a9e8",
"checkedInAt": "2019-08-24T14:15:22Z"
},
"attendeeName": "string",
"attendeeEmail": "string",
"attendee": {
"answers": [
{
"fieldId": "string",
"label": "string",
"value": "string",
"values": [
"string"
],
"element": "checkbox",
"type": "",
"meta": {
"property1": null,
"property2": null
},
"reference": "string"
}
],
"flagged": true,
"reviewedAt": "2019-08-24T14:15:22Z"
},
"livemode": true,
"orderedAt": "2019-08-24T14:15:22Z",
"canceledAt": "2019-08-24T14:15:22Z",
"cancelReason": "string",
"canceledBy": "string",
"metadata": [
{
"key": "string",
"value": "string",
"addedAt": "2019-08-24T14:15:22Z"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"status": "error",
"type": "ValidationError",
"message": "Bad request - Invalid body: Field 'email' must be a valid email address",
"errors": [
{
"param": "email",
"message": "must be a valid email address"
}
]
}{
"status": "error",
"type": "error",
"message": "Missing or invalid API key"
}{
"status": "error",
"type": "error",
"message": "Insufficient permissions requires: BOOKINGS_WRITE"
}{
"status": "error",
"type": "error",
"message": "Ticket not found"
}{
"message": "API key rate limit exceeded. Please try again later."
}{
"status": "error",
"type": "error",
"message": "Internal server error"
}