API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

booking_confirmed

Triggered when a booking is confirmed

Fields

type
string
required

value: booking_confirmed

session_id
string
required
occurred_at
string · date-time
required

Date and time at which the event occurred, as a UTC RFC3339 formatted datetime.

booking_information_source
booking_information_source · one of 2
required

Source of booking information.

Show fields

Source of booking information.

Exactly one of the following, selected by type:
from_booking_references (from_booking_references) from_booking_references
type
string
required

value: from_booking_references

booking_references
map_string
required

Record locators if PSS, Order ID if OMS, etc. Used to retrieve the flight booking later. It's a dictionary of key/value pairs. The keys can be anything, but they are referenced in the configuration when retrieving the booking, so those must align.

not_available (not_available) not_available
type
string
required

value: not_available

Example
{
  "type": "string",
  "session_id": "string",
  "occurred_at": "2026-12-10T15:00:00Z",
  "booking_information_source": {
    "type": "string",
    "booking_references": {}
  }
}