HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
contact_info
Contact information of the user buying the product(s).
Fields
email_addressShow fields
type:hashed (hashed) hashed
typevalue: hashed
valueA stable hash of the user's email address. Must be stable across different API calls and different bookings. Used for transaction correlation for fraud analysis.
literal (literal) literal
typevalue: literal
valueThe actual email address for the user.
^[^@\s]+@[^@\s]+\.[^@\s]+$not_provided (not_provided1) not_provided1
typevalue: not_provided
phone_number^\+[1-9][0-9]{1,14}$additional_recipientsShow fields
email_addressEmail address of the additional recipient to notify.
Show fields
valueThe actual email address for the user.
^[^@\s]+@[^@\s]+\.[^@\s]+$phone_numberSMS notifications are not currently supported; a request that includes a phone number is rejected.
^\+[1-9][0-9]{1,14}$notification_preferencesConsent for the PRIMARY BOOKER (the email_address / phone_number on this contact_info) to receive disruption notifications via SMS/push. Applies to the primary booker only: additional_recipients never receive SMS or push (they are email-only, notification-only). Captured per offer at purchase; does not persist across offers. Recording consent does not trigger delivery.
Show fields
smsSMS consent for the primary booker's phone_number. Omit = not specified, true = opt-in, false = declined. Requires phone_number to be present; the request is rejected if sms=true and phone_number is absent.
pushPush consent for the primary booker. Omit = not specified, true = opt-in, false = declined.
{
"email_address": {
"type": "string",
"value": "a8cfcd74832004951b4408cdb0a5dbcd8c7e5243f7fe-244bf72058205241da"
},
"phone_number": "string",
"additional_recipients": [
{
"email_address": {
"value": "john@email.com"
},
"phone_number": "string"
}
],
"notification_preferences": {
"sms": true,
"push": true
}
}