← Home
Get Specialities
Get Specialities
This endpoint lists all available user specialities.
🔐 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, specialiti(es) with matching title would be returned. | |
| per_page | string | Optional | The number of results per page. |
Response Schema
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | object | Optional | The resource representing a speciality within the system. | |
| id | integer | Optional | The unique identifier for the speciality. | 1 |
| 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/specialities?title=undefined&per_page=undefined' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"title": {
"en": "Residential Sales",
"ar": "بيع العقارات السكنية"
}
},
{
"id": 2,
"title": {
"en": "Residential Leasing",
"ar": "تأجير العقارات السكنية"
}
},
{
"id": 3,
"title": {
"en": "Commercial Sales",
"ar": "بيع العقارات التجارية"
}
},
{
"id": 4,
"title": {
"en": "Commercial Leasing",
"ar": "تأجير العقارات التجارية"
}
},
{
"id": 5,
"title": {
"en": "Off-Plan Sales",
"ar": "البيع على الخارطة"
}
}
]
}