Availability
Get variant availability
Real-time bookable slots for a specific treatment variant.
GET
Same as Get venue availability,
but restricted to a single bookable variant (a
duration × price option of a treatment). Slots are computed with that variant’s
duration, and only therapists qualified for its treatment are considered, so the
result is a subset of the whole-venue availability. Requires the
You must provide either
availability:read scope.
Path parameters
The venue id or slug.
The variant id. Its parent treatment must belong to the venue.
Query parameters
A single day,
YYYY-MM-DD. Mutually exclusive with from/to.Start of the range, inclusive. Requires
to.End of the range, inclusive. Max
from + 62 days.date or both from and to.
Response
Same shape as Get venue availability —{ data: { date, slots } } in single-day mode, { data: { from, to, days } }
in range mode — plus the echoed identifiers venue_id, treatment_id (the
variant’s parent treatment) and variant_id.
Errors
| HTTP | Body | Meaning |
|---|---|---|
| 400 | { "error": "Provide \date` or `from`/`to`” }` | Missing or conflicting period params |
| 403 | { "error": "Forbidden" } | Your key is scoped to another venue/org |
| 404 | { "error": "Venue not found" } | Unknown venue |
| 404 | { "error": "Variant not found" } | Unknown variant, or its treatment is not in the venue |