languages
Requires an authenticated session.
Lists the platform's languages. Shared by every organization, and available to customer apps for a language picker.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query Languages {
languages {
id
code
name
nativeName
createdAt
direction
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query Languages {\n languages {\n id\n code\n name\n nativeName\n createdAt\n direction\n }\n}"
}
EOF
Response:
{
"data": {
"languages": [
{
"id": "id",
"code": "string",
"name": "string",
"nativeName": "string",
"createdAt": "2025-01-15T00:00:00Z",
"direction": "LTR"
}
]
}
}
languages: [Language!]!
Type
Language object
A language the product is available in.