Skip to main content
GET
Search hotel destinations
Use it to fill the destination picker before you create a hotel search, then send the place’s id — or its slug — as destinationId. Matches come most relevant first, and an empty results means nothing matched. An error the travel provider reports about the request is returned with its own status, code and message.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of your organization.

Format: UUID

Query Parameters

query
string
required

Text to search destinations for: part of a city, region or place name, a slug or an address, case-insensitive.

Minimum string length: 1

Response

Successful response

The destinations matching a hotel location search.

results
object[]
required

Matching destinations, most relevant first. Empty when nothing matches.