Server-side APIEndpointsPatients

Record vitals

Add one vitals reading for a patient, from your own system or device.

Records one vitals reading for a patient at one of your locations: from a triage desk, a ward system or a device feed. The reading then appears in the patient's vitals and in Medos's own screens.

API-key only, gated on devapi_patients_vitals_create. Send X-Acting-User-Id to attribute the reading to a staff member. Without it, the reading is attributed to the workspace admin.

Parameters

Path parameters

patientIdintegerrequiredExample: 4821

The Medos patient id, from GET /v1/patients.

Query parameters

addressIdintegerrequiredExample: 1

The location the reading was taken at, from GET /v1/addresses.

Headers

x-api-keystringrequiredExample: mk_…

Your Developer API key. Server-side only.

X-Acting-User-IdstringExample: MDU_A1B2C3D4E5F6

The staff member the call is attributed to, as an MDU_… id. Omit it to attribute the call to the workspace admin.

Content-TypestringrequiredExample: application/json

The body is JSON. Anything else is a 415.

Body

recordedAtdate-timeExample: 2026-11-10T10:35:00+05:30

When the reading was taken, with an offset. Defaults to now.

bpSystolicintegermin: 50max: 300Example: 122

mmHg, a whole number.

bpDiastolicintegermin: 30max: 200Example: 80

mmHg, a whole number.

heartRatestringExample: 72

As entered, a string.

temperaturestringExample: 98.4

As entered, a string. Pair with temperatureUnit.

temperatureUnit"F" | "C"enum
respiratoryRateintegermin: 4max: 60

Breaths per minute, a whole number.

oxygenLevelstringExample: 98

SpO2 %, as entered, a string.

heightstringExample: 162

As entered, a string. Pair with heightUnit.

heightUnit"CM" | "IN"enum
weightstringExample: 61

As entered, a string. Pair with weightUnit.

weightUnit"KG" | "LB"enum
bminumber

A number; Medos does not compute it from height and weight.

painScoreintegermin: 0max: 10

0 to 10.

bloodGlucosenumbermin: 10max: 1000

mg/dL.

bloodGlucoseType"FASTING" | "RANDOM"enum
notesstring

Up to 500 characters.

  • addressId is required: the location the reading was taken at, from GET /v1/addresses.
  • Use your own ids. Send a patientId from GET /v1/patients and an addressId from GET /v1/addresses.
  • The field names are the ones the vitals read returns. A reading you read back can be sent again unchanged.
  • At least one measurement is required. Every field is optional on its own, so a clinic recording only blood pressure and pulse sends only those.
  • The body is strict. A field this route does not know, a misspelt one included, is a 400 naming it, so a reading is never silently dropped.
  • recordedAt is when the reading was taken, as an instant with an offset (2026-11-10T10:35:00+05:30). Leave it out for "now". Send it when backfilling or syncing from a device.
  • Units travel beside their values and are not converted. Send weight with weightUnit, temperature with temperatureUnit.

Responses

The 201 body is the stored reading, in the same shape as the vitals read.

One call, one reading

Each successful call records a new reading. If your request times out and you retry, check the patient's vitals first: a second call records a second reading.

Test request