Create a verification
curl https://api.veriffy.me/v1/sessions \
-H "Authorization: Bearer $VERIFFY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: kyc-user-42-1" \
-d '{
"applicant": {"external_user_id": "user-42", "email": "user@example.com"},
"level": "kyc-full",
"locale": "en",
"metadata": {"order": "A-1001"}
}'| Field | Description |
|---|---|
applicant |
The applicant's data. external_user_id is enough: the applicant is found or created |
applicant_id |
Instead of applicant — the id of an existing applicant. Pass exactly one of the two |
level |
The name of the verification level. Without it the default level is used |
locale |
The language of the verification page, for example en or kk |
callback_url |
A webhook address for this verification only, in addition to the common endpoints |
redirect_url |
Where to return the user after the last screen |
document |
Pre-select the document: {"country": "KZ", "type": "id_card"}. Types: passport, id_card, residence_permit, driver_license |
expires_in_hours |
The link's lifetime, 1 to 720 hours. 7 days by default |
metadata |
Your own data. Returned unchanged in responses and webhooks |
The response is the verification object with two extra fields that come only on creation:
{
"id": "6f1d0c9e-4a55-4d0e-9a57-0f3b2c1d7e10",
"applicant_id": "0b9c2f6a-…",
"external_user_id": "user-42",
"environment": "live",
"level": "kyc-full",
"status": "created",
"attempt": 1,
"decision": null,
"metadata": {"order": "A-1001"},
"created_at": "2026-12-06T10:00:00+00:00",
"expires_at": "2026-12-13T10:00:00+00:00",
"url": "https://api.veriffy.me/flow/…",
"client_token": "…"
}Pass the url to the client — to an SDK or as a link.
Get a verification
curl "https://api.veriffy.me/v1/sessions/{session_id}?include=checks,extracted" \
-H "Authorization: Bearer $VERIFFY_API_KEY"The include parameter adds details to the response:
| Value | What is added |
|---|---|
checks |
The results of the individual checks: document, face, liveness, watchlists |
extracted |
The data read from the document. Needs the pii:read scope |
media |
The list of the verification's photos and videos |
screening |
Watchlist matches |
Once a decision is made, the object has a decision block:
{
"status": "resubmission_requested",
"reject_type": "RETRY",
"reason_codes": ["DOCUMENT_BLURRY"],
"resubmission_steps": ["document"],
"risk_score": 12.5,
"decided_by": "auto",
"decided_at": "2026-12-06T10:03:11+00:00"
}| Field | Description |
|---|---|
status |
The decision: approved, declined, resubmission_requested or review |
reject_type |
FINAL — a final rejection, RETRY — the user can retake |
reason_codes |
Reason codes |
resubmission_steps |
Which steps the user has to redo |
risk_score |
A risk score from 0 to 100 |
decided_by |
auto — the system's decision, manual — a team member's or your server's |
List verifications
curl "https://api.veriffy.me/v1/sessions?status=review,declined&limit=100" \
-H "Authorization: Bearer $VERIFFY_API_KEY"| Parameter | Description |
|---|---|
status |
One or several statuses, comma-separated |
applicant_id |
One applicant's verifications |
level |
Verifications of one level |
created_after, created_before |
Bounds on the creation time |
search |
Search by verification id or by the applicant's identifier |
limit, cursor |
Paging, see Lists |
include=total |
Add the total number of verifications found |
Actions on a verification
| Method | What it does |
|---|---|
POST /v1/sessions/{id}/link |
Issues a new link. The previous one stops working. Only while the verification is waiting for the user |
POST /v1/sessions/{id}/decision |
A manual decision. Needs the reviews:write scope |
POST /v1/sessions/{id}/rerun |
Runs the automatic checks again on the same photos and videos |
POST /v1/sessions/{id}/simulate |
Sets a decision. Sandbox mode only |
GET /v1/sessions/{id}/events |
The verification's event log, in order |
GET /v1/sessions/{id}/webhooks |
The webhooks sent for this verification |
Manual decision
curl https://api.veriffy.me/v1/sessions/{session_id}/decision \
-H "Authorization: Bearer $VERIFFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"decision": "resubmission_requested", "resubmission_steps": ["document"], "note": "The edge of the document is cut off"}'| Field | Description |
|---|---|
decision |
approved, declined or resubmission_requested |
reason_codes |
Up to 20 reason codes |
resubmission_steps |
What to retake: document, selfie, liveness |
note |
A comment for the log, up to 4000 characters |
Which decision you can make depends on the current status:
| Current status | You can set |
|---|---|
review |
approved, declined, resubmission_requested |
resubmission_requested |
approved, declined |
approved |
declined |
declined |
approved |
Any other change returns 409 invalid_transition with the allowed decisions in details.allowed.
After a manual decision a new verification.decided webhook is sent.