GET
List all booking locations
Scope:
crm:booking-services.readhttps://api.holded.com/api/v2/booking-locationsReturns all booking locations for your account. Locations are not paginated — all are returned in a single response.
Request
python
import requests
url = "https://api.holded.com/api/v2/booking-locations"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"name": "string",
"description": "string",
"active": false,
"available_services": [
"string"
]
}
]
}Success responses
200List of booking locationsapplication/jsonobject
items[]object[]
idstring
Unique identifier of the location
namestring
Name of the location
descriptionstring
Description of the location
activeboolean
Whether the location is active
available_services[]string[]
List of active service identifiers
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json