List menu languages
get
https://api.flactrum.com/v1/languages
These are the codes accepted by ?lang= and by the translations field on write endpoints.
| Required scope | languages.read |
| Panel screen | Menu & products → Languages & translations |
| Success status | 200 |
| Returns | A paginated list of Language objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| default | query | boolean | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| active | query | boolean | Filter by active flag. Omit to get both. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| code | string | — |
| name | string | — |
| is_default | boolean | The default language stores its text on the record itself, not as a translation. |
| is_active | boolean | — |
| sort_order | integer | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/languages' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43sk7fr1981v4cs912rt96s",
"code": "en",
"name": "English",
"is_default": false,
"is_active": true,
"sort_order": 0,
"created_at": "2026-10-04T15:47:50+00:00",
"updated_at": "2026-10-04T15:47:50+00:00"
},
{
"id": "01m43sk7fbqtxmaman5307db0q",
"code": "tr",
"name": "Türkçe",
"is_default": true,
"is_active": true,
"sort_order": 0,
"created_at": "2026-10-04T15:47:50+00:00",
"updated_at": "2026-10-04T15:47:50+00:00"
}
],
"meta": {
"total": 2,
"page": 1,
"per_page": 25,
"last_page": 1
}
}