Languages
The Languages API allows you to retrieve a list of all available languages supported by Pipeback. This endpoint is useful for internationalization features in your application.
The Language Object
- Name
id- Type
- uuid
- Description
Unique identifier for the language.
- Name
code- Type
- string
- Description
ISO 639-1 language code (e.g.,
en,pt,es,fr).
- Name
name- Type
- string
- Description
English name of the language (e.g.,
English,Portuguese).
- Name
label- Type
- string
- Description
Display label for the language, typically in format "Name (Code)" (e.g.,
English (en),Português (pt)).
- Name
is_default- Type
- boolean
- Description
Indicates if this is the default language. Only present in certain contexts with pivot data.
GET/app/languages
List All Languages
This endpoint returns a list of all available languages supported by Pipeback, ordered alphabetically by name.
This endpoint requires authentication with both Authorization and x-workspace-id headers.
Request
GET
/app/languagescurl https://api.pipeback.com/app/languages \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "x-workspace-id: YOUR_WORKSPACE_ID"
Response
{
"data": [
{
"id": "9d5f3d04-2c61-4d1a-8a3e-1b2c3d4e5f6a",
"code": "en",
"name": "English",
"label": "English (en)",
"is_default": null
},
{
"id": "9d5f3d04-2c61-4d1a-8a3e-1b2c3d4e5f6b",
"code": "pt",
"name": "Portuguese",
"label": "Português (pt)",
"is_default": null
},
{
"id": "9d5f3d04-2c61-4d1a-8a3e-1b2c3d4e5f6c",
"code": "es",
"name": "Spanish",
"label": "Español (es)",
"is_default": null
},
{
"id": "9d5f3d04-2c61-4d1a-8a3e-1b2c3d4e5f6d",
"code": "fr",
"name": "French",
"label": "Français (fr)",
"is_default": null
}
]
}