Skip to main content
GET
List appointment openings

Query Parameters

locationId
string

Limit openings to this specific location.

Either a locationId or barberId is required. The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

barberId
string

Limit openings to this specific barber.

Either a locationId or barberId is required. The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

duration
string<duration>

Calculate legacy regular openings for this appointment duration. Required when serviceIds is absent. Ignored when serviceIds is present because the server derives duration from current service terms.

serviceIds
string[]

Select the services for server-derived regular opening offers and off-hours quotes. The server owns their price, duration, eligibility, exact occurrence, and availability; callers provide identifiers only.

Required array length: 1 - 25 elements

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

date
string
required

Limit openings to this specific calendar date. A date, expressed in YYYY-MM-DD RFC 3339 date format.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Ok. The operation succeeded.

Available openings based on request parameters.

openings
string[]
required

Regular-hours appointment opening times for the requested date. This preserves the deployed string[] meaning; off-hours times never appear in this list.

The starting time for an appointment opening time slot, in 24 hour time.

count
integer<int16>
required

The number of regular-hours entries in openings. Off-hours quotes are excluded to preserve deployed count semantics. This is derived and immutable.

Required range: x >= 0
location
object
required

The shop location for the appointment openings.

barber
object
required

The barber for the appointment openings.

regularOffers
object[]

Short-lived exact regular-hours offers corresponding one-to-one with openings. Present only for service-scoped requests. Each offer carries the exact UTC occurrence and location time zone the customer may submit.

offHoursQuotes
object[]

Short-lived off-hours quotes, disjoint from openings. Absent for legacy duration-only requests.

bookableThrough
string

The furthest calendar date a client may book, based on the barber's advance booking window. When absent, booking is not limited by an advance window.

Pattern: ^\d{4}-\d{2}-\d{2}$