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
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": "", "displayCountry": "", "displayLanguage": "", "displayName": "", "displayScript": "", "displayVariant": "", "iso3Country": "", "iso3Language": "", "language": "", "script": "", "variant": "" }]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}