Resolve the lifecycle state of an SDK app-user coordinate (read-only)
Read-only probe used by the SDK's `<CuraeAIAccountProvider>` to decide which onboarding / lifecycle UI to render for the current user. Resolves `(customerAccountId, appUserId)` to one of `UNLINKED`, `LIMITED`, `ACTIVE`, or `TOMBSTONED` without minting a `CuraeConnectSession` row, provisioning a LIMITED user, emitting any outbox event, or counting against the per-coordinate `/initiate` rate-limit bucket. Supports RFC 7232 conditional GET — pass the previously-received ETag in `If-None-Match` to receive a `304 Not Modified` when the state has not moved. Designed for high-frequency polling (every page mount, every browser tab visibility-change).
Read-only probe used by the SDK's <CuraeAIAccountProvider> to decide which onboarding / lifecycle UI to render for the current user. Resolves (customerAccountId, appUserId) to one of UNLINKED, LIMITED, ACTIVE, or TOMBSTONED without minting a CuraeConnectSession row, provisioning a LIMITED user, emitting any outbox event, or counting against the per-coordinate /initiate rate-limit bucket. Supports RFC 7232 conditional GET — pass the previously-received ETag in If-None-Match to receive a 304 Not Modified when the state has not moved. Designed for high-frequency polling (every page mount, every browser tab visibility-change).
platformApiKeyAuthorizationBearer <token>Curae Platform API key using the format Bearer . Keys are opaque credentials such as cae_live_..., not JWTs.
appUserId*stringOpaque SDK user id. Must be canonical: no leading or trailing whitespace and no control characters.
1 <= length <= 256If-None-Match?stringStrong ETag list (RFC 7232 §3.2). When any candidate matches the current account-state ETag, the response is 304 Not Modified with the same ETag header and no body.
Resolved lifecycle state for the supplied coordinate.
application/json- response
lifecycleState*stringUNLINKED — no binding exists; render onboarding choice. LIMITED — binding resolves to a LIMITED user; render upgrade card. ACTIVE — binding resolves to an ACTIVE user; full SDK available. TOMBSTONED — binding is unusable (slot soft-deleted, or bound user soft-deleted / deactivated); the consumer must re-onboard.
"UNLINKED""LIMITED""ACTIVE""TOMBSTONED"subjectUserId*|The Curae User.id the coordinate currently resolves to. null for the UNLINKED and TOMBSTONED states because no usable user reference exists in those cases.
uuidcurl -X GET 'https://api.curaeai.com/api/sdk/v1/curae-connect/account-state?appUserId=string'{ "lifecycleState": "UNLINKED", "subjectUserId": "296d2d93-03fc-4d0e-b7e7-4f7600664125"}Mint a graduation handoff token for an existing LIMITED user POST
SDK consumers surface a `<CuraeUpgradeCard>` whenever the current user is in the `LIMITED` lifecycle state; a tap on the upgrade CTA proxies to this route via the consumer backend. The platform mints a fresh server-signed `GRADUATION_HANDOFF` JWT that pins the LIMITED `User.id` and returns the Curae-hosted `/graduate#handoff=<token>` webview URL the SDK navigates the user to (the token rides the URL fragment, which the browser never sends). The credential-binding ceremony (passkey, magic link, password) runs inside that webview. Idempotency-Key is REJECTED because every call MUST mint a fresh short-lived JWT — replays would return a stale token whose TTL may have elapsed. Rate-limited at 10 req / customer-account / appUserId / minute (same cap as `/initiate`) to close the LIMITED-binding enumeration side channel.
Search the health-system brand catalog (public) GET
Public, unauthenticated search over the CuraeAI health-system brand catalog — the discovery surface a consumer uses to build an institution picker before any data is linked. The catalog contains only non-PHI metadata (brand name, EHR platform type, FHIR base URL, city/state, and a logo reference), so no API key is required; the authorization boundary is the SDK connection, not catalog discovery. Results are deduplicated by FHIR system identity and CDN-cached at the edge.