Curae Platform API
Connect a user's health systems and read authorized FHIR R4 projections over a server-to-server REST API.
Curae Platform API
CuraeAI is a connectivity platform for medical records. Your users link their health systems (EHRs) through a Curae-hosted Connect ceremony, and your backend reads normalized FHIR data over a server-to-server REST API.
The API supports record reads, connection management, webhooks and app-derived signal writes. It does not write medical records back to EHRs.
How an integration fits together
- Connect — embed the Connect widget so a user links a health system. The widget calls a small backend proxy you host; your API key never reaches the browser.
- Receive webhooks — the platform notifies your backend as connections authorize, data imports, and exports become ready.
- Read records — search authorized Observation, Condition and Immunization projections or queue an NDJSON export for a connection.
Core facts
- Base URL —
https://api.curaeai.comfor both key kinds,http://localhost:3000for local dev. The REST surface lives under/api/platform/v1/*and/api/sdk/v1/*. - Auth — server-to-server API keys,
Authorization: Bearer <key>. Keys arecae_live_<…>orcae_test_<…>; a test key reaches the same data as described in Authentication. They are secrets — never ship them to a browser. - Versioning — send
CuraeAI-Version: 2026-04-15, the currently supported dated version. - Errors — RFC 7807
application/problem+jsonwith a stablecode. - Pagination — webhook endpoint lists use an opaque
nextCursor; catalog and resource searches return bounded results without a next-page cursor. - Idempotency — supported mutations use
Idempotency-Key; check the endpoint contract because some require or reject it.
A test key is not a guarantee of synthetic data. Approved apps can use test SDK keys to read real records through an authorized connection. The environment and approval requirements are explained in Authentication.
Start building
- Quickstart — your first integration.
- Authentication — keys and environments.
- Webhooks — receive and verify events.
- API reference — every endpoint, generated from OpenAPI.
The CuraeAI repository includes an examples/connect-quickstart project
for the catalog and webhook loop. AI agents: start at
/llms.txt.