---
title: "Get the preferred language"
method: GET
path: "/v2/language"
tags: ["Language Reference"]
---

# Get the preferred language

`GET /v2/language`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/language`
- Auth: none required
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/language/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Successful operation

- LanguageX
  - `prefLang` string

## Other responses

- `400`: Invalid request parameters
- `404`: Not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
