API reference

HTS APIs

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

Schema

room_configuration

Room configuration information

Fields

name
string
required

Room name

Example Master Bedroom
bed_configurations
array of bed_configuration
required

List of bed configurations in the room

Show fields
Array of bed_configuration · List of bed configurations in the room
quantity
integer
required

Number of beds of this type

Range ≥ 1 · Example 2
bed_type
string enum
required

Type of bed available in a room

Values doublefutonkingmurphyqueensofatatamitwinsinglefullrun_of_the_housedormwaterbunkcribrollawaytrundleunspecified · Example king
description
localizable_string

A LocalizableString object contains the text value and its associated locale. The value field is a required string with the actual text. The locale field is an optional string representing the language and region of the value. The locale is omitted when Hopper can't guarantee the language of the value.

Show fields
value
string
required

The actual text value, which can vary based on the locale.

Example Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.
locale
string

Locale code representing the language and regional variation of text content. This follows the IETF RFC 5646 standard for language tags, which provides a standardized way to identify languages.

Common examples:

  • "en-US" for U.S. English
  • "fr-FR" for French in France
  • "es-ES" for Spanish in Spain
  • "zh-CN" for Chinese in China
  • "ja-JP" for Japanese in Japan
Pattern ^[a-z]{2,4}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$ · Example en-US
Example
{
  "name": "Master Bedroom",
  "description": {
    "value": "Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.\n",
    "locale": "en-US"
  },
  "bed_configurations": [
    {
      "quantity": 2,
      "bed_type": "king"
    }
  ]
}