GET
/api/public/v1/appointment-availabilityList availability windows
List weekly availability windows when a location accepts appointments.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
locationId | string | Required | Location to query. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/appointment-availability" \
-H "Authorization: Bearer your_access_token"200Example response
json
{
"message": "Appointment availability retrieved successfully!",
"content": {
"availability": [
{
"id": "av_1",
"dayOfWeek": 1,
"startTime": "09:00",
"endTime": "17:00",
"isActive": true
}
]
}
}