HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
/eventsOtherCreate Event
Create a new event for the provided session. When exercise_type is omitted on an event that supports it, this endpoint stores payout and preserves an explicit value.
Request body application/json · required
A type of event to be recorded.
type:booking_confirmed (booking_confirmed) booking_confirmed
typevalue: booking_confirmed
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
booking_information_sourceSource of booking information.
Show fields
Source of booking information.
type: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
exercise_portal_complete_page_continue_clicked (exercise_portal_complete_page_continue_clicked) exercise_portal_complete_page_continue_clicked
typevalue: exercise_portal_complete_page_continue_clicked
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_portal_complete_page_loaded (exercise_portal_complete_page_loaded) exercise_portal_complete_page_loaded
typevalue: exercise_portal_complete_page_loaded
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_typerebookpayoutexercise_portal_confirmation_page_back_clicked (exercise_portal_confirmation_page_back_clicked) exercise_portal_confirmation_page_back_clicked
typevalue: exercise_portal_confirmation_page_back_clicked
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_typerebookpayoutexercise_portal_confirmation_page_confirm_clicked (exercise_portal_confirmation_page_confirm_clicked) exercise_portal_confirmation_page_confirm_clicked
typevalue: exercise_portal_confirmation_page_confirm_clicked
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_typerebookpayoutexercise_portal_confirmation_page_loaded (exercise_portal_confirmation_page_loaded) exercise_portal_confirmation_page_loaded
typevalue: exercise_portal_confirmation_page_loaded
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_typerebookpayoutexercise_portal_landing_continue_clicked (exercise_portal_landing_continue_clicked) exercise_portal_landing_continue_clicked
typevalue: exercise_portal_landing_continue_clicked
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idexercise_typerebookpayoutexercise_portal_landing_loaded (exercise_portal_landing_loaded) exercise_portal_landing_loaded
typevalue: exercise_portal_landing_loaded
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
contract_idflight_search_loaded (flight_search_loaded) flight_search_loaded
typevalue: flight_search_loaded
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
flight_search_submitted (flight_search_submitted) flight_search_submitted
typevalue: flight_search_submitted
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
flight_selected (flight_selected) flight_selected
typevalue: flight_selected
session_idoccurred_atDate 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
typevalue: flight_submitted_for_offer
session_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
merchandising_displayed (merchandising_displayed) merchandising_displayed
typevalue: merchandising_displayed
session_idoccurred_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_idoccurred_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_idoccurred_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_idoccurred_atDate and time at which the event occurred, as a UTC RFC3339 formatted datetime.
offer_idsmerchandising_sdk_loaded (merchandising_sdk_loaded) merchandising_sdk_loaded
typevalue: merchandising_sdk_loaded
session_idoccurred_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_idoccurred_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.
Responses
204The event has been successfully created
400Syntactic errors were encountered while handling the request
messagecodeExample
[
{
"message": "string",
"code": "string"
}
]401The client could not be authenticated
403The authenticated client does not have permission to call this endpoint
499The client cancelled the request
500The server encountered an internal error
curl -X POST "https://fintech.staging.htsapis.com/flights-cfar/v2/events" \
-H "X-Api-Key: $HTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "string",
"session_id": "string",
"occurred_at": "2026-12-10T15:00:00Z",
"booking_information_source": {
"type": "string",
"booking_references": {}
}
}'Examples are generated from the schema where the spec publishes none; field values are illustrative.
