Reschedule an appointment
Move an appointment to a new time, or into a token session, with the same practitioner.
Moves an appointment to a new time, with the same practitioner at the same location. Medos updates the calendar and tells the patient, as it does when the front desk reschedules.
API-key only, gated on devapi_appointments_reschedule.
X-Acting-User-Id is optional.
Parameters
Path parameters
appointmentRefstringrequiredExample: SCHEDULED:91234SCHEDULED:<id>. A bare number means the same.
Query parameters
addressIdintegerrequiredExample: 1The appointment's location.
doctorIdstringrequiredExample: MDU_A1B2C3D4E5F6The appointment's own practitioner, as an MDU_… id. It does not change.
Headers
x-api-keystringrequiredExample: mk_…Your Developer API key. Server-side only.
X-Acting-User-IdstringExample: MDU_A1B2C3D4E5F6The staff member the call is attributed to, as an MDU_… id. Omit it to attribute the call to the workspace admin.
Content-TypestringrequiredExample: application/jsonThe body is JSON. Anything else is a 415.
Body
fromDateTimeIsostringExample: 2026-11-21T11:00:00+05:30The new slot's start, from the practitioner's slots. Required unless you move it into a session with sessionId and date.
toDateTimeIsostringExample: 2026-11-21T11:30:00+05:30The new slot's end.
sessionIdstringExample: 31To move the visit into a session as a new token: a sessions[].sessionId. Send with date, and without the two times.
datedateExample: 2026-11-21With sessionId only: the session's day, YYYY-MM-DD.
addressIdanddoctorIdare required and are the appointment's own: itslocation.idandpractitioner.idfromGET /v1/appointments/{appointmentRef}. The practitioner does not change. Moving a visit to another practitioner is not part of the Developer API.- Pick the new time from the practitioner's slots, exactly as
GET /v1/doctors/{doctorId}/slotsreturns it, as you would to book. - Or move it into a token session: send a session's
sessionIdand thedateinstead of the two times. The visit takes a new token there, at the end of that session's queue. - Only
SCHEDULED,CONFIRMEDandOVERDUEappointments can move. Any other is a404, the same answer as an appointment that is not this clinic's. PUT, notPOST. APOSTto this path is a405withAllow: PUT.
Responses
The 200 body is the appointment at its new time, in the same shape as the
appointment read.