Apps and keys
An app is one customer product, such as an onboarding flow or an exam platform. Everything belongs to an app: its API keys, workflows, theme and sessions. One app never sees another app’s data, and there is no face database shared between apps.
There is no self-serve signup yet. We create your app and its keys; request access.
API keys
Section titled “API keys”Send the key on every call:
Authorization: Bearer rk_live_…- Test keys start with
rk_test_. Sessions created with them are inmode: "test", and only they may usesimulate. - Live keys start with
rk_live_. - Keys are stored only as SHA-256 hashes, so a lost key cannot be shown again: ask for a new one, and we revoke the old.
- Idempotency keys are kept apart per mode, so a live request never replays a test session.
Namespaces and subject references
Section titled “Namespaces and subject references”Every session carries your own reference for the person, subject_ref (for example your user id), inside a namespace (default "default"). Use the namespace to keep separate populations apart, such as one per customer organisation.
GET /v1/sessions?namespace=…&subject_ref=…lists one person’s sessions.DELETE /v1/subjects/{namespace}/{subject_ref}erases all of them.reference_sessionsonly work within the same namespace and subject.
Do not put names or email addresses in subject_ref. Use an opaque id.
Automatic decisions
Section titled “Automatic decisions”Each app has an automatic decisions setting, which we switch on or off at your request. With it off, every result is review. With it on, the workflow’s own decision stands. Switching it on is you accepting, for that app, that the workflow’s decisions take effect without a person reviewing them. See decisions and assurance.
These are counted for your app, and you can read them with GET /v1/usage:
| Kind | When |
|---|---|
session.created |
A session is created. |
session.billable |
One of the session’s capture steps has produced a result. |
check.<type> |
Once per session per step type. Retries are not counted again. |
session.<decision> |
The decision when the session completes. |
session.reviewed |
A reviewer approves or declines on the review page. |
face.compare |
Each POST /v1/face/compare. |
voice.verify |
Each POST /v1/voice/verify. |
evidence.download |
Each download of a retained image. |