API reference
/- Cancel an appointment
List appointments
Create an appointment
Get appointment by ID
Update an appointment
Cancel an appointment
Cancels the appointment matching id for the practice identified by X-Practice-Id. The appointment state is set to Cancelled and cancelled_at is recorded.
Cancellation is only permitted when the appointment is not in a final state. The following states are final and cannot be cancelled: Completed, Cancelled, Did not attend, Arrived, and In surgery. Only Appointments in Pending and Confirmed may be cancelled.
If the appointment is already Cancelled, the API responds with 422. If no appointment exists for that practice and id, the API responds with 404. An unknown or inactive cancellation_reason_id results in 422.
Security
oauth2(Required scopes: appointment:write)
- Mock serverhttps://docs.api.dentally.com/_mock/docs/versions/2026-01-01/nexgen/appointments/{id}/cancel
- Production - UKhttps://api.dentally.co/appointments/{id}/cancel
- Production - APAChttps://api.apac.dentally.com/appointments/{id}/cancel
curl -i -X POST \
'https://docs.api.dentally.com/_mock/docs/versions/2026-01-01/nexgen/appointments/{id}/cancel' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Practice-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-d '{
"cancellation_reason_id": "3fab8e39-823f-40f5-b697-7b46a607dd81"
}'