List Supported Languages
const url = 'https://api.wink.travel/reference-data/language/list';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/reference-data/language/list \ --header 'Authorization: Bearer <token>'Returns the complete list of languages the platform supports. Each language includes ISO 639-1/639-3 codes, ISO 3166-1 country codes, and localized display names in the target language. Derived from the platform configuration.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Represents a supported language with localized display names and language codes.
object
ISO 3166-1 alpha-2 country code.
Country name as displayed in the language represented by this object.
The language name as it appears in the language represented by this object.
The full localized display name of the language.
The script used by this language, displayed in the language itself.
Any variant designations displayed in the language.
ISO 3166-1 alpha-3 country code.
ISO 639-3 three-letter language code.
ISO 639-1 two-letter language code.
The script code for this language (e.g., ‘Thai’ for Thai script).
Any variant designations for this language.
Example
[ { "country": "TH", "displayCountry": "ประเทศไทย", "displayLanguage": "ไทย", "displayName": "Thai (Thailand)", "displayScript": "Thai", "displayVariant": "", "iso3Country": null, "iso3Language": "tha", "language": "th", "script": "Thai", "variant": "" }]Bad Request — missing or invalid request parameter or body
object
object
Example
Unauthorized — authentication is required or the session has expired
object
object
Example
Forbidden — authenticated but lacking the required permission or scope
object
object
Example
Not Found — the requested resource does not exist
object
object
Example
Method Not Allowed — the HTTP verb is not supported on this endpoint
object
object
Example
Unsupported Media Type — use application/json
object
object
Example
Internal Server Error — an unexpected failure occurred on the server
object
object
Example
Service Unavailable — a downstream dependency is unreachable