Locations
The clinic's locations, so an addressId or location.id resolves to a name, timezone and currency.
The locations of the workspace your key belongs to. Every addressId this API
takes, and every location.id it returns, is one of these.
API-key only, gated on devapi_catalog_addresses.
The best first call
It needs no parameters, touches no patient data, and proves the whole chain at once: the key, the IP allowlist, and an entitlement. If this works, the problem with any other call is in that call.
The workspace is implicit. There is no workspaceId parameter, and sending
one is a 400. This is always your key's own workspace.
Parameters
Query parameters
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 locations.
timezone is the zone that appointment search reads fromDate/toDate in,
and that appointmentDate is rendered in.
Caching
Reference data changes rarely, so this route answers
Cache-Control: private, max-age=300, must-revalidate with Vary: x-api-key.
Cache it for five minutes, then revalidate with If-None-Match. See
Polling and caching.