Skip to main content
GET
List calendar availability (paginated)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

start_date
string
required

Required. Start date for fetching availability. This will be translated to a datetime representing the start of the day in the clinic's timezone. Must be no more than 7 days before end_date. Format: YYYY-MM-DD

end_date
string | null

End date for fetching availability. This will be translated to a datetime representing the end of the day in the clinic's timezone. Must be no more than 7 days after start_date. Defaults to start_date if omitted. Format: YYYY-MM-DD

calendar_resource_ids
integer[] | null

Filter to specific calendar resources by ID. Accepts multiple IDs. When omitted, availability is returned for every resource on the calendar.

appointment_kind_ids
integer[] | null

Filter by appointment kind by ID. Accepts multiple IDs. Controls slot duration and designation filtering; each requested kind produces its own set of response entries. When omitted, a single kind-less pass is returned at the calendar's default duration.

duration
integer | null

Overrides the appointment kind's default duration, in minutes. When provided it applies to every requested kind. Must be a positive multiple of the calendar's block increment.

limit
integer
default:1000

The maximum number of appointment slots to return per page, counted by summing nested slots across every resource/kind entry on that page. A resource/kind group that spans a page boundary is split, and only the slots on this page count toward the limit. Defaults to 1000; the maximum is 5000.

Required range: 1 <= x <= 5000
cursor
string | null

A cursor token from a previous response's next page URL. Fetches slots after the last slot of the previous page. Omit to start from the first page.

Response

200 - application/json

OK

data
ExternalCalendarAvailabilitySchema · object[]
required

A single page of data contained within this list.

next_page
string
required

A URL linking to the next page of this list.

has_more
boolean
default:false

Whether there are more pages or data in this list.

type
string
default:list

Type of this object. Always list.