API reference

HTS APIs

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

Schema

lodging_details

Lodging-type-specific details. Replaces the deprecated additional_information field. Only one of the sub-fields will be present per booking, corresponding to the lodging type.

Fields

homes
homes_additional_information

Additional information about a homes lodging

Show fields
type
string enum
required

Discriminator value for homes lodging additional information

Values homes · Example homes
host_contact_details
array of contact_detail
required

List of property contact details

Show fields
Array of contact_detail · List of property contact details
contact_type
string enum
required

Type of contact (primary, emergency, or unspecified)

Values primaryemergencyunspecified · Example primary
name
string

Display name of the contact person

Example Jane Doe
phone_number
string

Phone number. Preferred key. For backward compatibility, the API accepts and returns the deprecated key phoneNumber (camelCase) as well; clients may use either.

Example 123-456-7890
email
string

Email address for the contact

Example abcd@xyz.com
hotels
hotels_additional_information

Additional information about a hotel booking

Show fields
type
string enum
required

Discriminator value for hotel lodging additional information

Values hotels · Example hotels
hotel_confirmation_number
string

Optional. The unique reservation identifier generated by the hotel's Property Management System (PMS) or Central Reservation System (CRS). When present, this is the primary reference number the guest should provide to the front desk upon check-in. This field may be omitted for some suppliers or bookings (for example, in pre-confirmation/on-request states or when the hotel has not yet issued a confirmation number), so clients MUST NOT assume it will always be returned.

Example MAR-889900X
Example
{
  "homes": {
    "type": "homes",
    "host_contact_details": [
      {
        "contact_type": "primary",
        "name": "Jane Doe",
        "phone_number": "123-456-7890",
        "email": "abcd@xyz.com"
      },
      {
        "contact_type": "emergency",
        "name": "John Doe",
        "phone_number": "123-456-7890",
        "email": "abcd@xyz.com"
      }
    ]
  },
  "hotels": {
    "type": "hotels",
    "hotel_confirmation_number": "MAR-889900X"
  }
}