HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
send_event_request
Fields
type:booking_confirmed (booking_confirmed) booking_confirmed
typevalue: booking_confirmed
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
booking_information_sourceShow fields
type:from_booking_data (from_booking_data) from_booking_data
typevalue: from_booking_data
booking_dataThe details of the confirmed booking.
Show fields
check_in_dateThe date the guest checks in.
check_out_dateThe date the guest checks out.
currencyThe currency the guest was charged in. 3-letter ISO 4217 code.
propertyThe property that was booked.
Show fields
idThe ID of the property in the partner's system.
property_nameThe name of the property.
country_codeThe country the property is in, as an ISO 3166-1 alpha-2 code (2 letters, upper case).
chain_nameThe name of the property's chain.
ratesThe rates that were booked, each with the unit it was booked for, its price breakdown and its cancellation penalty. A single-room booking has exactly one; a multi-room booking has one per booked room.
Show fields
idThe ID of the booked rate in the partner's system, as sent at offer creation.
unit_idThe ID of the booked unit in the partner's system, as sent at offer creation.
priceThe price breakdown for this rate.
Show fields
cancellation_penaltyThe cancellation penalty for this rate. Use:
non_refundableif the rate is not refundable starting from booking time (i.e., if the user cancels right after booking, they won't get any refund)refundablefor anything else
Show fields
channelThe partner's channel the booking was made through.
Show fields
The partner's channel the booking was made through.
type:agent_reseller (agent_reseller) agent_reseller
typevalue: agent_reseller
agency_idThe ID of the agency.
agentThe agent operating the session. Expected from every agent portal integration.
Show fields
api (api) api
typevalue: api
clientThe client name of the API.
direct (direct) direct
typevalue: direct
online_booking_tool (online_booking_tool) online_booking_tool
typevalue: online_booking_tool
travel_management_companyThe name of the travel management company.
businessThe name of the business.
white_label (white_label) white_label
typevalue: white_label
brandThe brand name of the white label partner.
booking_referencesIDs that are relevant to the booking. It's a dictionary of key/value pairs. Check with HTS for examples of supported keys.
occupancyThe occupancy that was booked.
Show fields
num_adultsThe number of adults the user is booking for.
num_childrenThe number of children the user is booking for.
num_unitsThe number of units the user is booking.
user_idThe ID of the user who made the booking.
from_booking_references (from_booking_references) from_booking_references
typevalue: from_booking_references
booking_referencesRecord 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
typevalue: not_available
merchandising_displayed (merchandising_displayed) merchandising_displayed
typevalue: merchandising_displayed
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idsmerchandising_faq_clicked (merchandising_faq_clicked) merchandising_faq_clicked
typevalue: merchandising_faq_clicked
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idsmerchandising_offer_attached (merchandising_offer_attached) merchandising_offer_attached
typevalue: merchandising_offer_attached
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idmerchandising_offer_declined (merchandising_offer_declined) merchandising_offer_declined
typevalue: merchandising_offer_declined
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idsoffer_display_requested (offer_display_requested) offer_display_requested
typevalue: offer_display_requested
session_idIdentifies a single shopping funnel, from the initial search through to booking. A new search (including changing the search parameters) begins a new funnel with a new id.
occurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idsThe offers that the customer is requesting to view.
triggerWhat prompted the customer to request to view an offer.
Show fields
pageThe page where the request was triggered.
entry_pointThe entry point of the flow where the request was triggered.
Used by
{
"type": "string",
"session_id": "c17aff84-7581-461e-8505-002d15ac368a",
"occurred_at": "2026-12-10T15:00:00Z",
"booking_information_source": {
"type": "string",
"booking_data": {
"check_in_date": "2026-09-12",
"check_out_date": "2026-09-14",
"currency": "USD",
"property": {
"id": "12345",
"property_name": "Fairmont Copley Plaza Boston",
"chain_name": "Fairmont",
"country_code": "US"
},
"rates": [
{
"id": "rate-bar-flex",
"unit_id": "unit-king-lux",
"price": {}
}
],
"occupancy": {
"num_adults": 1,
"num_children": 1,
"num_units": 1
},
"channel": {
"type": "string",
"agency_id": "858695eb-db27-406a-b9dd-a76af17b7d1c",
"agent": {}
},
"booking_references": {},
"user_id": "33bb4eb2-2937-4bd3-97b1-7796206712f0"
}
}
}