Account management is only available with an institutional API key. Doctor-level API keys do not have access to these endpoints.
sk_…) for server-side API calls and a publishable key (pk_…) for the browser embed (see Key types). You can later rotate the secret key.
Creating an account
POST /v1/institutional/accounts requires email and doctorSpecialties. Optionally pass apiKeyConfig.validForDays (1–365) to control how long the minted API key stays valid — omit it to default to 365 days (1 year).
id (or your internalCode) — you can use either to retrieve the account later.
Retrieving an account
Look up an account by itsid (acc_*) or by your own internalCode.
Regenerating an API key
Rotate an account’s API key withPOST /v1/institutional/accounts/{account_id}/api-keys/regenerate, identifying the account by its id (acc_*) or internalCode. Optionally pass validForDays (1–365) to set the new key’s lifetime; omit it to keep the account’s default.