API reference

HTS APIs

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

Schema

event

A type of event to be recorded.

Fields

A type of event to be recorded.

Exactly one of the following, selected by type:
booking_confirmed (booking_confirmed) booking_confirmed
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

exercise_portal_complete_page_continue_clicked (exercise_portal_complete_page_continue_clicked) exercise_portal_complete_page_continue_clicked
type
string
required

value: exercise_portal_complete_page_continue_clicked

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_portal_complete_page_loaded (exercise_portal_complete_page_loaded) exercise_portal_complete_page_loaded
type
string
required

value: exercise_portal_complete_page_loaded

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_type
string enum
Values rebookpayout
exercise_portal_confirmation_page_back_clicked (exercise_portal_confirmation_page_back_clicked) exercise_portal_confirmation_page_back_clicked
type
string
required

value: exercise_portal_confirmation_page_back_clicked

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_type
string enum
Values rebookpayout
exercise_portal_confirmation_page_confirm_clicked (exercise_portal_confirmation_page_confirm_clicked) exercise_portal_confirmation_page_confirm_clicked
type
string
required

value: exercise_portal_confirmation_page_confirm_clicked

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_type
string enum
Values rebookpayout
exercise_portal_confirmation_page_loaded (exercise_portal_confirmation_page_loaded) exercise_portal_confirmation_page_loaded
type
string
required

value: exercise_portal_confirmation_page_loaded

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_type
string enum
Values rebookpayout
exercise_portal_landing_continue_clicked (exercise_portal_landing_continue_clicked) exercise_portal_landing_continue_clicked
type
string
required

value: exercise_portal_landing_continue_clicked

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
exercise_type
string enum
Values rebookpayout
exercise_portal_landing_loaded (exercise_portal_landing_loaded) exercise_portal_landing_loaded
type
string
required

value: exercise_portal_landing_loaded

session_id
string
required
occurred_at
string · date-time
required

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

contract_id
string
required
flight_search_loaded (flight_search_loaded) flight_search_loaded
type
string
required

value: flight_search_loaded

session_id
string
required
occurred_at
string · date-time
required

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

flight_search_submitted (flight_search_submitted) flight_search_submitted
type
string
required

value: flight_search_submitted

session_id
string
required
occurred_at
string · date-time
required

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

flight_selected (flight_selected) flight_selected
type
string
required

value: flight_selected

session_id
string
required
occurred_at
string · date-time
required

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

flight_submitted_for_offer (flight_submitted_for_offer) flight_submitted_for_offer
type
string
required

value: flight_submitted_for_offer

session_id
string
required
occurred_at
string · date-time
required

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

merchandising_displayed (merchandising_displayed) merchandising_displayed
type
string
required

value: merchandising_displayed

session_id
string
required
occurred_at
string · date-time
required

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

offer_ids
array of string
required
merchandising_faq_clicked (merchandising_faq_clicked) merchandising_faq_clicked
type
string
required

value: merchandising_faq_clicked

session_id
string
required
occurred_at
string · date-time
required

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

offer_ids
array of string
required
merchandising_offer_attached (merchandising_offer_attached) merchandising_offer_attached
type
string
required

value: merchandising_offer_attached

session_id
string
required
occurred_at
string · date-time
required

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

offer_id
string
required
merchandising_offer_declined (merchandising_offer_declined) merchandising_offer_declined
type
string
required

value: merchandising_offer_declined

session_id
string
required
occurred_at
string · date-time
required

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

offer_ids
array of string
required
merchandising_sdk_loaded (merchandising_sdk_loaded) merchandising_sdk_loaded
type
string
required

value: merchandising_sdk_loaded

session_id
string
required
occurred_at
string · date-time
required

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

offer_ids
array of string
required
offer_display_requested (offer_display_requested) offer_display_requested
type
string
required

value: offer_display_requested

session_id
string
required
occurred_at
string · date-time
required

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

offer_ids
array of string
required

The offers that the customer is requesting to view.

trigger
request_trigger
required

What prompted the customer to request to view an offer.

Show fields
page
string
required

The page where the request was triggered.

Length ≥ 1
entry_point
string
required

The entry point of the flow where the request was triggered.

Length ≥ 1

Used by

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