Concepts
The rule behind every state
Section titled “The rule behind every state”Something being accepted, submitted or delivered never means it succeeded. An email accepted by the mail service may never arrive; evidence submitted hasn’t been checked; a check that passed hasn’t approved anyone. HeliumID keeps each of these as its own field so you never have to infer one from another.
One verification of one person, for one purpose. It is the record everything else hangs off.
status |
Meaning |
|---|---|
awaiting_evidence |
Invited; the applicant hasn’t submitted yet. |
processing |
Evidence submitted; checks are running. |
needs_review |
Checks finished (whatever their results); waiting for a person. |
decided |
A reviewer approved or rejected it: see decisionOutcome. |
cancelled |
Stopped before a decision. |
Every change increases the case’s version. Use it to tell newer information from older (webhooks can arrive out of order), and send it as expectedVersion when deciding, so a decision is never made on a stale view.
Invitation and delivery
Section titled “Invitation and delivery”The invitation is the link: created, active, expired or revoked. Its delivery is the email carrying it: queued, sent, delivered or failed. Revoking an invitation stops the link at once; resending creates a new invitation (new link) and revokes the old one.
A link alone grants nothing: the applicant must also confirm a one-time code sent to the invited address.
Evidence
Section titled “Evidence”What the applicant uploaded. Each file is checked when it arrives (virus scan, real image of an accepted type, large enough, sharp enough) before it can be submitted. The API lists evidence metadata; the files themselves are only reachable through short-lived, logged view links.
Checks and attempts
Section titled “Checks and attempts”A check is one kind of verification on the case (for example, face match). Each run of it is an attempt. An attempt has two separate answers:
- How it ran (
state):queued,pending,completed,technical_failure,outcome_unknown,cancelled. - What it found (
result, once completed):pass,discrepancyorunsupported.
A technical failure is not a failed identity: it means the check couldn’t run, and a reviewer can re-run it. See Checks.
Decision
Section titled “Decision”Approve or reject, with a reason code (and a note where the reason needs one). Recorded with who decided, when, and which check results they saw. Approving needs every check completed; approving despite a discrepancy needs the discrepancy_reviewed reason and a note.