API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
content_request
Request for the content operation
Fields
request_idstring · uuid
required
Unique value used to identify this request. If provided to us during operational questions, it will help us provide better support.
Example
123e4567-e89b-12d3-a456-426614174000lodging_idsarray of lodging_id
required
List of lodging IDs to get content for (up to 20)
Items ≥ 1, ≤ 20
localestring
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-USUsed by
Example
{
"request_id": "123e4567-e89b-12d3-a456-426614174000",
"lodging_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"locale": "en-US"
}