platform.synheart.ai.
Mobile apps don’t use API keys. The iOS and Android SDKs register a hardware-backed device identity, attested by App Attest or Play Integrity, and sign every request with it. Configure app attestation and
deviceAuthConfig instead, and never ship an API key or signing secret in an app bundle.The CLI uses OAuth Device Flow, not API keys, for synheart login. See Authenticate the CLI.What a key carries
Each key the portal issues is bound to:- An organization (selected from the org switcher).
- An app inside a project; keys are minted at the app level, so one key can’t speak for multiple apps.
- A label you supply (free-form, used to identify the key in the list).
- One or more scopes that name the services the key may call (see Scopes).
- An environment tag for your own bookkeeping:
production,development,staging,testing, orother.
Scopes
Scopes use aresource:action format. A key can call only the services its scopes name; anything else is rejected.
Generate a key
- Open the developer portal and switch to the organization, tenant, and project that own the app.
- Open the app’s API keys tab and choose Generate API Key.
- In the side panel, set:
- Choose App: the key is bound to one app.
- Key Type:
Production,Development,Staging,Testing, orOther. - Scopes: tick at least one scope from the table below. The form blocks submission until one is selected.
- The portal returns a secret key and a signing secret in a one-time dialog. Both are shown only once and stored hashed; copy them immediately into a secret manager. The dialog also offers a Download credentials JSON button that bundles the new secrets together with the identifiers:
org_id,tenant_id,project_id,app_id,secret_key, and (when present)signing_secret. Save it to your secret manager; it never appears again.
app_id / org_id your mobile app needs.
The two secrets are used together by callers that can keep them secret: your backend, a server-side ingest pipeline, or a desktop host.
secret_keyis sent on every request in thex-api-keyheader.signing_secretsigns ingest, consent, and sync requests with HMAC-SHA256, sent asX-Synheart-Signature. A desktop host passes both to the runtime’s HMAC configuration so it can upload without device registration. See Runtime configuration.
Ingestion access
Ingestion is gated per organization, not per app. There is no app allowlist: any app in your org can upload once its requests are authenticated (device attestation on mobile, or the signing secret on backend and desktop hosts).
To enable lab ingestion, contact Synheart with your
org_id; there’s no self-service request flow today.
Rotate
There’s no automatic rotation. To rotate:- Generate a new key with the same scopes and environment.
- Roll both the secret key and signing secret out to your callers.
- Revoke the old key.
Revoke
Revoke unused keys from the API keys list. Revocation is immediate; subsequent requests with the revoked key fail with401. Revoked keys stay visible in the list (toggle Include revoked) for audit.
Errors
Next
Projects
Organize the apps your keys point at into projects.