# Cancel Appointments Before using this guide you will need a developer account and an access token. You can contact us about creating a developer account [here](https://developer.zocdoc.com/?utm_medium=organicpro&utm_routing=API_Sender#api-form). To get an access token, review the [authentication and access tokens](/guides/authentication) guide. You will also need to have booked an appointment and have an `appointment_id`. You must include a valid `appointment_id` in the request body. The optional `cancellation_reason_type` field can be used to specify a standardized reason. If set to `other_patient_reason` or `other_provider_reason`, the `cancellation_reason` field may also be included to provide additional context. Cancellable statuses: `pending_booking`, `booking_failed`, `confirmed`, `pending_reschedule`, `reschedule_failed`, `rescheduled`. Note 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.