Get available slots
Returns the slots of one service on one date. The response is a single object, not a paginated list.
Endpoint
GET/reservation-available-slots
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Your organization ID. |
service_id | integer | Yes | Service to check. |
date | string (YYYY-MM-DD) | Yes | Date in the service's timezone. |
resource_id | integer | No | Only this resource's hours and bookings. Use it to offer a specific staff member or room (send it as preferred_resource_id when creating the reservation). |
duration_minutes | integer | No | For services with duration_mode: "flexible": the length to check, one of the service duration_options. |
party_size | integer | No | Default 1. With capacity_unit: "people" a slot is available only when this many seats are free. Outside the service min_party_size–max_party_size no slots are returned. |
exclude_reservation_id | integer | No | Ignore this reservation when counting bookings (to offer new times when rescheduling it). |
live | boolean | No | true reads connected calendars without the 2-minute cache. |
Request
Response
json
When the whole day is unavailable:
json
See how slots are calculated for every field and reason.
Errors
| Status | When |
|---|---|
400 Bad Request | service_id, date or organization_id is missing. |
404 Not Found | The service does not exist. |
Report an issue with this documentation
Please log in to report issues with our documentation.