← Home
Get Teams
Get Teams
This endpoint lists team of an agency 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 |
|---|---|---|---|---|
| name | string | Optional | The name filter, teams with matching names would be returned. | Emirates Pro Deal |
Response Schema
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | array[object] | Optional | ||
| id | integer | Optional |
Responses
200✅
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/teams?name=Emirates%20Pro%20Deal' \
--header 'Authorization: Bearer <token>'{"data":[{"id":3247,"name":"Team Alpha"}]}