Skip to content

Quickstart

In the HeliumID workspace, an Admin or Developer opens Developers → API keys and creates a key with the Operator role (it can request verifications and read cases). The key is shown once: store it in your server’s configuration.

Terminal window
export HELIUMID_KEY=hl_test_...
curl https://api.staging.heliumid.io/v1/me -H "Authorization: Bearer $HELIUMID_KEY"

The response names the key, its organisation and what it may do.

Terminal window
curl https://api.staging.heliumid.io/v1/invitations \
-H "Authorization: Bearer $HELIUMID_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: onboarding-customer-4812" \
-d '{"recipient":{"name":"Ada Lovelace","email":"ada@example.com"}}'

You get back 201 with the invitation and its case:

{
"invitation": { "id": "…", "status": "created", "delivery": { "status": "queued" } },
"case": { "id": "…", "status": "awaiting_evidence", "version": 1 },
"invitationUrl": "https://link.staging.heliumid.io/i#…"
}

HeliumID emails the link. invitationUrl is the same link, returned only in this response, in case you’d rather send it yourself.

The Idempotency-Key makes the request safe to retry: the same key returns the same invitation instead of creating a second case. See Idempotency and errors.

On their phone, the applicant opens the link, enters a one-time code sent to their email, gives consent, photographs their identity document and takes a selfie. The case moves:

awaiting_evidence → processing (checks running) → needs_review (a person decides) → decided

Either poll:

Terminal window
curl https://api.staging.heliumid.io/v1/cases/$CASE_ID -H "Authorization: Bearer $HELIUMID_KEY"

or, better, receive webhooks for case.submitted, case.needs_review and case.decided.

A reviewer in your organisation approves or rejects the case in the workspace (or with POST /v1/cases/{id}/decision). The case then has status: "decided" and decisionOutcome: "approved" or "rejected", and a case.decided webhook carries the reason code.

HeliumID never decides for you: checks inform the reviewer; the decision is always a recorded action by someone in your organisation.