Server-side APIEndpointsReference data

Appointment settings

Each practitioner's hours, slot length, modes and fees, at each of your locations.

How each practitioner is set up to be booked at each of your clinic's locations: the hours they work, how long a slot is, whether they see patients online, in person or both, and what each consultation costs. These are the settings your staff edit in Medos under appointment settings.

API-key only, gated on devapi_catalog_appointment_configs. The workspace is implicit: there is no workspaceId parameter.

Parameters

Query parameters

addressIdintegerExample: 1

Only rows at this location.

doctorIdstringExample: MDU_A1B2C3D4E5F6

Only this practitioner's rows. Their MDU_… staff id, from GET /v1/doctors.

pageintegermin: 0Default: 0

Zero-based page number.

sizeintegermin: 1max: 100Default: 20

Page 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_A1B2C3D4E5F6

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

Both filters are optional, and both take the ids you were given at onboarding:

  • addressId is one of your locations, from GET /v1/addresses. An address that is not one of yours matches no row.
  • doctorId is the practitioner's MDU_… staff id, from GET /v1/doctors. An id your clinic does not know is a 400, not an empty page.

Responses

There is one row per location and practitioner, so a practitioner who works at two locations has two rows, each with that location's settings.

  • configured: false means the practitioner has not been set up at that location yet. The row is still there, with empty hours, so you can tell "not set up" from "no hours".
  • fees are decimal strings in currency, and null for a mode the practitioner does not offer.
  • workingHours lists each block of the week, Monday first. Times are HH:mm in the location's own timezone. A block with a mode takes only that mode, and a block with a fee charges that fee instead of the practitioner's.
  • cancellation.minHoursBefore is how many hours before the visit a patient may still cancel. Staff can cancel at any time with DELETE.

To see which slots are open on a given day, use GET /v1/doctors/{doctorId}/slots. Settings change rarely, so a response may be reused for five minutes.

Test request