API reference/Bookings/Read free days and times
getBookingsAPI key
Read free days and times
GET /client/v1/bookings/availability
Live availability for your own booking page. It reflects everything configured in ScaleBiss: working hours, time off, limits per slot / day / customer, minimum notice and the booking window, and bookings already made from any channel.
- Without `date`: the next days that still have a free slot (
days, up tolimit, default 9). - With `date`: that day's free
slots, in time order. Each slot hasstarts_at(send this back when booking),local_time/labelin the workspace timezone, andremainingplaces ofcapacity. For token services (walk-in sessions) a slot is a session such as “Morning”.
Availability is a snapshot: another customer can take a slot before yours is submitted, so handle 409 SLOT_FULL on booking.
Query parameters
| Name | Type | Details |
|---|---|---|
| service_id query | integer optional | ScaleBiss service id. Required unless `service_external_ref` is sent. |
| service_external_ref query | string optional | Your own service id. Required unless `service_id` is sent. |
| date query | string optional | A day in the workspace timezone, `YYYY-MM-DD`. Omit to list the next free days. |
| resource_id query | integer optional | Only this staff member / room. |
| limit query | integer optional | Days to return when `date` is omitted, 1–60 (default 9). |
Responses
200Free days (no `date`) or that day's free slots (`date` given)
{
"success": true,
"message": "Available slots retrieved successfully",
"data": {
"timezone": "Asia/Kolkata",
"date": "2026-11-03",
"slots": [
{
"starts_at": "2026-11-03T04:30:00+00:00",
"ends_at": "2026-11-03T05:00:00+00:00",
"local_date": "2026-11-03",
"local_time": "10:00",
"label": "10:00 am",
"session": null,
"remaining": 1,
"capacity": 1,
"resource_ids": [
3
]
}
],
"customer_conflict": null
}
}400Validation error (`VALIDATION_ERROR`, with `details` per field), or a status change that is not allowed (`BOOKING_INVALID`)
{
"success": false,
"message": "Validation failed",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "starts_at",
"message": "starts_at must be an ISO 8601 date-time, e.g. 2026-11-03T10:30:00+05:30"
}
]
}401Missing, invalid or revoked API key
{
"success": false,
"message": "API key is not valid",
"code": "API_KEY_INVALID"
}402The workspace's trial or paid plan has ended (`PLAN_EXPIRED`)
{
"success": false,
"status": false,
"message": "Your plan has expired. Renew your plan to continue.",
"code": "PLAN_EXPIRED",
"data": {
"code": "PLAN_EXPIRED",
"status": "expired",
"ends_at": "2026-10-31T18:29:59.000Z"
}
}404The service, staff member or booking does not exist in this workspace (`BOOKING_NOT_FOUND`)
{
"success": false,
"message": "Service not found.",
"code": "BOOKING_NOT_FOUND"
}429More than 60 requests per minute for this API key
{
"success": false,
"message": "Too many requests for this API key. Retry in a minute.",
"code": "RATE_LIMITED"
}