Server-side APIEndpointsAppointments

Shaped day

A practitioner's day as the dashboard draws it — sessions, breaks, and what is already taken.

GET /v1/appointments/schedule-slots

Distinct from available-slots, which answers the narrower question of what a patient could book. This is the whole shape of the working day, booked slots included.

API-key only (a widget session is refused) and entitlement-gated on devapi_appointments_schedule_slots.

Query parameters

NameRequiredDescription
addressIdYesA clinic location, from GET /v1/addresses.
appointmentDateYesYYYY-MM-DD
doctorIdNoA practitioner's medos user id, from GET /v1/doctors.
doctorIdsNoSeveral practitioners at once. Repeat the parameter upstream; this form sends one value.
viewTypeNo—

Try it

GET/v1/appointments/schedule-slotsAPI key onlydevapi_appointments_schedule_slots

A practitioner's day as the dashboard calendar draws it, booked slots included.

Query

Request
GET /v1/appointments/schedule-slots?addressId=1&appointmentDate=2026-10-12&doctorId=4
to https://api.medos.one
Use a dedicated test key, and put your browser's address on its allowlist

A Developer API key authenticates on its own, so it only works from the addresses registered against it — and this page calls from your browser, not your servers. Unless your own public address is on the list you get a 403 naming it, which is the allowlist doing its job. Your browser may also reach us over IPv6 even when your server does not, so the address in the error is often not the one you expected. The key here is kept in memory only and never written to storage, but create a test key for it and deactivate that key when you are done.

Request

curl -sG "https://api.medos.one/v1/appointments/schedule-slots" \
  -H "x-api-key: $MEDOS_API_KEY" \
  --data-urlencode "addressId=1" \
  --data-urlencode "appointmentDate=2026-10-12" \
  --data-urlencode "doctorId=4"

Common failures

StatusCause
403 with requiredFeatureNot entitled to this operation.
403 "only available to Developer API keys"A widget session token was used. Send x-api-key.

On this page