Cancel appointment
This endpoint is used to request the cancellation of an appointment in a non-cancelled status. (Non-cancelled statuses include: pending_booking, booking_failed, confirmed, pending_reschedule, reschedule_failed and rescheduled)
Developers must send a valid appointment_id as input in the request body and may choose to pass a cancellation reason using the standardized cancellation_reason_type field. The optional cancellation_reason field should only be used when the cancellation reason type is 'other_patient_reason' or 'other_provider_reason' to provide additional context.
If the appointment was booked with a Zocdoc user credential, only that user will have access to view or modify the appointment. If the appointment was booked with a machine-to-machine credential, the appointment can be viewed and modified by any of the developer's machine-to-machine credentials.
Request
- Base URLhttps://api-developer-sandbox.zocdoc.com
- Auth
- OAuth 2Client credentialsToken URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.write
- or OAuth 2Authorization code: https://auth.zocdoc.com/authorizeToken URL: https://auth.zocdoc.com/oauth/token scopes: external.appointment.write
Request body
Example request
{
"appointment_id": "d04b049a-41b1-4aba-9268-d8973cf72cdd"
}Response
Successful
Changes
No recorded changes to this operation across all 1 revision of this API.