cURL
Host endpoints
Get Organisation Languages
Retrieve the list of languages supported by an organisation, including full locale metadata for each language code.
GET
cURL
Overview
The/v2/org-languages endpoint returns the full language configuration for an organisation. Use it to discover which languages are available before making localised content requests (e.g. passing lang to guide-search or listing-search).
When translationEnabled is false, only the default language is available and the languages array will be empty.
Request
Required parameters
Optional parameters
Destination-scoped languages
An organisation can configure target languages per destination rather than one list for the whole organisation — see Translations. PasshostId when your integration operates in the context of a single destination, so a language switcher offers only the languages that destination is actually translated into.
An unrecognised
hostId falls back to the organisation-wide list rather than returning an empty one. An empty list is indistinguishable from a mistyped parameter, and would render a language switcher with nothing in it.hostId is always safe: existing integrations keep receiving the organisation-wide list exactly as before.
Examples
Retrieve supported languages
Retrieve supported languages
Retrieve languages for one destination
Retrieve languages for one destination
Example response — translations enabled
Example response (translations enabled)
Example response — translations disabled
Example response (translations disabled)