Skip to main content
GET
/
api
/
public
/
v1
/
booking
/
{id}
cURL
curl --location 'https://www.headout.com/api/public/v1/booking/<some-booking-id>' \
--header 'Headout-Auth: <YOUR_API_KEY>' \
--header 'Content-Type: application/json'
{
  "bookingId": "126890",
  "partnerReferenceId": "AX67873DDFSR",
  "variantId": "25525",
  "status": "PENDING",
  "startDateTime": "2025-04-12T19:30:00",
  "product": {
    "id": "18969",
    "name": "Bali Swing Experience",
    "variant": {
      "id": "25525",
      "name": "Standard Entry"
    }
  },
  "customersDetails": {
    "count": 1,
    "customers": [
      {
        "personType": "ADULT",
        "isPrimary": true,
        "inputFields": [
          {
            "id": "NAME",
            "name": "Name",
            "value": "John Doe"
          },
          {
            "id": "EMAIL",
            "name": "Email",
            "value": "john@example.com"
          },
          {
            "id": "PHONE",
            "name": "Phone",
            "value": "+14155551234"
          }
        ]
      }
    ]
  },
  "seatInfo": null,
  "variantInputFields": [],
  "price": {
    "amount": 77.08,
    "currencyCode": "USD"
  },
  "creationTimestamp": 1712953295,
  "voucherUrl": "https://www.headout.com/voucher/126890?key=AAAD6AAAABhsDVGl...",
  "tickets": [
    {
      "publicId": "9e4d8330-abc7-40f8-951d-19b9e8731dcf",
      "url": null,
      "type": "QRCODE"
    }
  ]
}

Authorizations

Headout-Auth
string
header
required

Path Parameters

id
string
required

ID of the booking to fetch.

Response

200 - application/json

Successful response

bookingId
string
required

Headout's unique identifier for this booking. Use this bookingId for all subsequent operations (capture, cancel, reschedule).

variantId
string
required

The variant (tour option) that was booked.

startDateTime
string<date-time>
required

Scheduled start time for the experience in local time, with no timezone offset (format yyyy-MM-dd'T'HH:mm:ss).

product
object
required

Summary of the product and variant booked.

customersDetails
object
required

All customers included in this booking.

price
object
required

Total price paid for this booking.

status
enum<string>
required

Current lifecycle state of the booking. See Booking Status.

  • UNCAPTURED: Created but not yet captured. Does not lock inventory or price. Auto-expires to CAPTURE_TIMEDOUT after 1 hour.
  • PENDING: Payment captured — confirmed with supplier. Treat as confirmed; show to the customer as a confirmed booking.
  • COMPLETED: Fulfilled — tickets are available in the tickets array.
  • CANCELLED: Cancelled by partner, customer, or Headout.
  • FAILED: Booking failed due to a payment or system error.
  • CAPTURE_TIMEDOUT: Not captured within 1 hour of creation; can no longer be captured.
Available options:
UNCAPTURED,
PENDING,
COMPLETED,
CANCELLED,
FAILED,
CAPTURE_TIMEDOUT
voucherUrl
string
required

URL to the booking voucher PDF. Available once the booking reaches PENDING or COMPLETED status.

creationTimestamp
integer<int64>
required

Unix epoch timestamp (seconds) when this booking was first created.

partnerReferenceId
string | null

Your own reference ID for this booking, set when capturing. Useful for correlating Headout bookings with your internal order system.

variantInputFields
object[]
tickets
object[] | null

Individual tickets associated with this booking. Populated after successful fulfillment.

seatInfo
object[] | null

Seat assignment details for seatmap-based products. Null for non-seatmap products.