API reference

HTS APIs

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

Schema

homes_additional_information

Additional information about a homes lodging

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
Example
{
  "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"
    }
  ]
}