← Home Get Languages

Get Languages

GEThttps://api.bayut.com/v1/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
NameTypeRequiredDescriptionExample
titlestringOptionalThe title filter, languag(es) with matching title would be returned.english
per_pagestringOptionalThe number of results per page.10
Response Schema
NameTypeRequiredDescriptionExample
dataobjectOptionalThe resource representing a language available in the system.
idintegerOptionalThe unique identifier for the language.1
codestringOptionalThe standardized language code following ISO 639-1 or similar conventions.en
linksobjectOptionalThe links to pages.
firststringOptionalThe link to first page.
laststringOptionalThe link to last page.
prevstringOptionalThe link to previous page.
nextstringOptionalThe link to next page.
metaobjectOptionalMeta about pagination data.
current_pageintegerOptionalThe page you are currently on.
fromintegerOptionalThe first page of the paginated results.
pathstringOptionalThe path of the current page.
tointegerOptionalThe last page of the paginated results.
totalintegerOptionalThe 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": "الإنجليزية"
            }
        }
    ]
}