Skip to content

Calendar integration timeslots

Endpoints to manage timeslots for providers.

Get timeslots for provider on date

Request

Get timeslots for a provider and date.

Path
provider_idstringrequired
Example:pr_abc123-def456_wxyz7890
Query
datestring, (date)required

The date for which to get timeslots in YYYY-MM-DD format. This parameter will match against the local date part of the time slot's start_time. For example, a timeslot with start_time of 2024-10-01T22:00 and time_zone of America/New_York is considered 2024-10-01 when querying timeslots, even though it resolves to 2024-10-02 in UTC.

Example:date=2024-10-26
next_page_tokenstring

A token to get the next set of results.

limitinteger

The limit of objects to get in the response. For this endpoint, this is equivalent to page_size.

curl -i -X GET \
  'https://api-developer-sandbox.zocdoc.com/v1/providers/pr_abc123-def456_wxyz7890/calendar/timeslots?date=2024-10-26&next_page_token=string&limit=0'

Responses

OK

Bodyapplication/json
request_idstringrequired

Unique request identifier for tracing

limitinteger

Maximum number of items requested. Note: For DynamoDB-style pagination, this may not match the number of items returned.

next_page_tokenstring

Opaque cursor token for the next page. Null if no more pages.

next_urlstring

Complete URL for fetching the next page (convenience field)

dataArray of objects(CalendarIntegrationTimeslotWeb)required
Response
{ "request_id": "string", "limit": 0, "next_page_token": "string", "next_url": "string", "data": [ { … } ] }