Server-side APIEndpointsReference data

Practitioners

The clinic's practitioners, keyed by the same MDU_… id every record carries.

The workspace's practitioners. id is the public staff id, MDU_ followed by 12 of [A-Z0-9]. The same value appears as practitioner.id on appointments, visits and prescriptions. It is also what ?doctorId=, the search's doctorIds and the X-Acting-User-Id header take.

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

Parameters

Query parameters

addressIdintegerExample: 1

Only practitioners at this location.

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.

Responses

The 200 is a page of practitioners.

Current practitioners only, for now

This list holds the clinic's current practitioners: active is always true, and addressIds is empty for now. Filter by location with addressId instead. A practitioner who has since left the clinic still appears by id and name on the historical records they wrote, but is not in this list. If a practitioner.id does not resolve here, use the practitioner.name from the record itself.

Caching

Cache-Control: private, max-age=300, must-revalidate with Vary: x-api-key. See Polling and caching.

Test request