← Home
Get Languages
Get Languages
This endpoint lists all available languages to be used in create/update user endpoints.
🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| title | string | Optional | The title filter, languag(es) with matching title would be returned. | english |
| per_page | string | Optional | The number of results per page. | 10 |
Response Schema
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | object | Optional | The resource representing a language available in the system. | |
| id | integer | Optional | The unique identifier for the language. | 1 |
| code | string | Optional | The standardized language code following ISO 639-1 or similar conventions. | en |
| links | object | Optional | The links to pages. | |
| first | string | Optional | The link to first page. | |
| last | string | Optional | The link to last page. | |
| prev | string | Optional | The link to previous page. | |
| next | string | Optional | The link to next page. | |
| meta | object | Optional | Meta about pagination data. | |
| current_page | integer | Optional | The page you are currently on. | |
| from | integer | Optional | The first page of the paginated results. | |
| path | string | Optional | The path of the current page. | |
| to | integer | Optional | The last page of the paginated results. | |
| total | integer | Optional | The total number of results. |
Responses
200✅
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/languages?title=english&per_page=10' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"code": "en",
"title": {
"en": "English",
"ar": "الإنجليزية"
}
}
]
}