Visit history
A patient's appointments with the diagnosis and vitals recorded at each.
A visit is an appointment
plus a clinical summary of what happened at it.
API-key only, gated on devapi_patients_visits. Responses carry
Cache-Control: no-store.
Parameters
Path parameters
patientIdintegerrequiredExample: 4821The Medos patient id, from GET /v1/patients.
Query parameters
fromDatedateExample: 2026-01-01Inclusive. A date range leaves out visits with no appointment date.
toDatedateExample: 2026-11-14Inclusive.
addressIdintegerExample: 1Only visits at this location.
includeCancelled"true" | "false"enumDefault: falseWith true, cancelled and voided appointments come back too, as history.
pageintegermin: 0Default: 0Zero-based page number.
sizeintegermin: 1max: 100Default: 20Page size. Over 100 is a 400, not a silent clamp.
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.
Responses
The 200 is a page of visits.
clinical.vitalsSnapshot is the five-field summary. For the full readings, with
units, use GET /v1/patients/{patientId}/vitals.
The field names that overlap are identical on both.