Get appointments
This endpoint retrieves the paginated list of appointment details and statuses for the given credential. By default, appointments will be returned in descending order of start time.
A maximum of 1,000 total appointments will be returned via pagination; if more are expected, use filters and batch requests.
If the request comes from a Zocdoc user credential, only appointments that user has created will be returned. If the request comes from a machine-to-machine credential, any appointments that were booked with that developer will be returned.
Request
- Base URLhttps://api-developer-sandbox.zocdoc.com
- Auth
- OAuth 2Client credentialsToken URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.read
- or OAuth 2Authorization code: https://auth.zocdoc.com/authorizeToken URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.read
Query parameters
The zero indexed page of results. A mimimum value of 0 and a maximum of 10 will be accepted.
The number of results to return per page. A mimimum value of 1 and a maximum of 100 will be accepted.
A comma-delimited list of Zocodc appointment statuses to filter appointments by.
The patient identifier provided by 3P developer to filter appointments by.
Field to sort appointments by:
- start_time_utc - Sort by appointment start time (default)
- created_time_utc - Sort by when appointment was created
- last_modified_time_utc - Sort by when appointment was last modified
The field to sort appointments by. Default is start_time.
The direction to sort appointments by. Default is descending.
The comma separated values of practice ids to filter appointments by
The comma separated values of provider ids to filter appointments by
The comma separated values of location ids to filter appointments by
The minimum UTC start time of the appointments to fetch. Exclude appointments that start before this time.
The maximum UTC start time of the appointments to fetch. Exclude appointments that start after this time.
The minimum UTC created time of the appointments to fetch. Exclude appointments that were created before this time.
The maximum UTC created time of the appointments to fetch. Exclude appointments that were created after this time.
The minimum UTC last modified time of the appointments to fetch. Exclude appointments that were last modified before this time.
The maximum UTC last modified time of the appointments to fetch. Exclude appointments that were last modified after this time.
Response
Successful
Example response
{
"data": [
{
"location_phone_number": "9999999999",
"start_time": "2022-04-27T09:00:00-04:00",
"created_time_utc": "2024-01-01T09:30:00Z",
"last_modified_time_utc": "2024-01-01T09:30:00Z",
"patient_type": "new"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.