Sessions
A session represents a single verification attempt. Every interaction with Verifa starts by creating a session — it tracks the user through capture, processing, and the final decision.
Session lifecycle
Statuses
Terminal vs. active statuses
Active: pending, capturing, processing, awaiting_external,
under_review, sandbox_pending
Terminal: completed, expired, failed
Once a session reaches a terminal status, its result is final and cannot change
(except through manual review of under_review sessions).
Creating a session
Request parameters
Response
The capture_url contains a single-use token that expires after 20 minutes. The
qr_code_data_url is a base64-encoded PNG of the capture URL, useful for
displaying a QR code for mobile users.
Listing sessions
Filters
Response
Retrieving a session
Returns the full session object including status, metadata, tags, and linked review case information.
Session operations
Resume an expired session
Re-issue a capture token for an expired or abandoned session:
Returns a new capture_url with a fresh token. The original documents and
progress are preserved.
Expire a session manually
Force-expire an active session:
Reprocess a session
Re-run the verification workflow on a completed session:
Useful after updating workflow rules — the original documents are re-evaluated against the current workflow configuration.
Update metadata
View documents
Retrieve signed URLs for the uploaded documents:
Document URLs are HMAC-signed and expire after 5 minutes (configurable). See Data Access for details.
View risk assessment
Returns the fraud signal assessment including risk score, risk level, and triggered signals. See Fraud Signals for details.
Session result
The session result is a separate object containing the verification outcome.
Fetch it after the session reaches completed or under_review:
Result statuses
Session redaction
Delete all PII and document images for a session:
Redaction is permanent and irreversible. See Data Retention for automatic retention policies and GDPR compliance.
Webhooks
Sessions fire these webhook events:
Related
- Verifications & Checks — What checks run during a session
- Workflows — How verification steps are orchestrated
- Identities — How sessions link to persistent identity records