API ReferenceAppointments

Check reschedule

Check a proposed reschedule and list what it would conflict with. Nothing changes.

The request body is the same as for Reschedule appointment. validate_slot and initiated_by are ignored.

The check covers the target provider and the appointment's active secondary providers. Conflicts are grouped by provider, with the target provider first. It reports overlapping appointments, buffer conflicts, external calendar events, blocks, booking intent holds, and times outside working hours. The appointment being moved and its synced calendar event are not conflicts. Buffers use the buffer policy captured on the appointment.

matches_slot says whether the time matches a slot from the service's slot rules. A time that does not match a slot is not a conflict. calendars lists every conflict calendar checked and whether it could be read.

This endpoint allows 30 requests per minute per bearer token or user.

To move the appointment despite its conflicts, reschedule with validate_slot set to false. That reschedule does not check again, so a booking made between the check and the reschedule can be double-booked.

POST
/v1/appointments/{appointment_id}/reschedule/check

Authorization

authorization
AuthorizationBearer <token>

In: header

Path Parameters

appointment_id*string

Appointment ID

Request Body

application/json

Reschedule appointment params

TypeScript Definitions

Use the request body type in TypeScript.

Request schema for rescheduling an appointment

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/appointments/string/reschedule/check" \  -H "Content-Type: application/json" \  -d '{    "end_at": "2025-03-01T11:00:00-05:00",    "initiated_by": "client",    "provider_id": "prv_1234567890",    "start_at": "2025-03-01T10:00:00-05:00",    "time_zone": "America/New_York"  }'
{  "data": {    "calendars": [      {        "error": null,        "id": "excal_a1b2c3d4e5f6",        "name": "Other clinic",        "provider_id": "prov_d025a96ac0c6",        "status": "ok"      }    ],    "conflicts": [      {        "appointment_id": "appt_a1b2c3d4e5f6",        "end_at": "2025-03-10T15:30:00Z",        "provider_id": "prov_d025a96ac0c6",        "source": "appointment",        "start_at": "2025-03-10T15:00:00Z",        "type": "buffer"      },      {        "calendar_id": "excal_a1b2c3d4e5f6",        "end_at": "2025-03-10T17:00:00Z",        "is_all_day": false,        "provider_id": "prov_d025a96ac0c6",        "start_at": "2025-03-10T16:00:00Z",        "type": "external_event"      }    ],    "matches_slot": false  }}