ID Verification
Check a government ID and a live selfie on a hosted page, and read one decision. About ID Verification
Switch: checks picks the document, the selfie and the sanctions lists for each check, or default_checks for all of them.
Every selfie and document photo is checked for a real camera behind it: for a virtual camera, an emulator, a replayed recording, a generated image or injected video. No extra step, no app.
Switch: sensor_print, on by default. Off, the page sends no camera data and the other checks still decide.
Switch: watchlist in an ID check’s checks, or a call of its own before you onboard or pay.
The call
POST /v1/verifications answers 201 with url, a single-use link for the person.
curl https://signetsentry.com/v1/verifications \
-H "Authorization: Bearer $SIGNET_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"reference": "user_8841",
"checks": ["document", "selfie", "watchlist"],
"min_age": 21,
"return_url": "https://shop.example/verified"
}'
# -> { "id": "ver_...", "status": "created", "outcome": "pending", "url": "https://.../v/vt_...", ... }
| Field | Meaning |
|---|---|
checks | Any of document, selfie, watchlist; or age alone for an age check. Default: document and selfie, or your default_checks. |
level | Shortcut: 1 is document, 2 is document and selfie. |
document_type | any (default); drivers_license and id_card, US and Canadian; passport; passport_card, the US passport card; permanent_resident_card, the US permanent resident card; employment_authorization_card, the US employment authorization card; national_id_card, a national ID card or residence permit. |
min_age | The holder’s minimum age. |
reference | Your ID for the person. Tells a retry from someone else using the document. |
session_id | A session from your page. Adds its device risk. |
return_url | https. Where the person goes after; ?verification_id= is appended. |
expected | { "first_name", "last_name", "date_of_birth" } (yyyy-MM-dd) to compare with the document. |
scenario | Test keys only. |
GET /v1/verifications lists them (status, decision, reference, limit, starting_after). GET /v1/verifications/usage shows your allowance and the checks this server can run.
Open it for the person
Redirect to url, email it, or open it over your page. On a desktop it offers a QR code.
<script src="https://signetsentry.com/verify.js"></script>
<script>
SignetVerify.open(url, {
onComplete: function (e) { checkResult(e.verificationId); }, // ask your server for the result
onClose: function () { /* closed before finishing */ }
});
// Or inside an element of your page:
// SignetVerify.mount('#verify-box', url, { onComplete: ... });
</script>
The browser is never told the decision. Read it on your server.
The answer
From the webhook, or GET /v1/verifications/{id}.
{
"id": "ver_...", "object": "verification",
"status": "completed", "outcome": "approved", "decision": "allow",
"risk_score": 4, "assurance_level": 2,
"reason_codes": ["FACE_MATCH", "LIVENESS_PASSED"],
"checks": { "document": "passed", "face_match": "passed", ... },
"document": { "type": "drivers_license", "first_name": "JORDAN", "last_name": "SAMPLE", "date_of_birth": "1990-04-12", ... },
"age": { "over_18": true, "over_21": true, "min_age_met": true },
"face": { "similarity": 0.71 },
"capture": { "deepfake": { "verdict": "genuine", "score": 3 }, ... },
"reference": "user_8841", "test": false
}
| Field | Meaning |
|---|---|
outcome | Switch on this: approved, in_review, declined, pending, expired, canceled. A reviewer’s decision replaces it. |
status | The link: created, started, processing, completed, expired, canceled. |
decision | allow, review or deny, with risk_score, reason_codes, reasons and summary. |
assurance_level | 1: the document checks out. 2: it also belongs to the person. |
checks | Each passed, failed, review, not_requested or unavailable. |
capture | Camera, automation and device findings. The camera |
watchlist | screened and matches. |
images | stored, delete_after |
risk | Run in a workflow: what its device, email, phone and link steps found about the same person (findings), and the three that weighed most (top). Nothing more is collected, and the decision does not change. |
| Also | document, age, face, liveness, age_estimate, review, consent, timestamps |
Printed dates, names and number
Reason codes about the dates, names and document number printed on the document.
| Reason | Meaning | Effect |
|---|---|---|
DOC_FRONT_DATES_CONSISTENT | The printed details are consistent. | None |
DOC_FRONT_DATE_MISMATCH | A printed date is inconsistent. | Review |
DOC_FRONT_DATE_POSSIBLE_MISMATCH | A printed date may be inconsistent. | Adds risk |
DOC_FRONT_FIELD_MISMATCH | A printed name or the document number is inconsistent. | Review |
Made or altered documents
| Reason | Meaning |
|---|---|
DOC_GENERATED_IMAGE | The document picture appears to be generated, not photographed. |
DOC_PORTRAIT_REPLACED | The portrait on the document appears to have been replaced. |
Deepfake defense
Every selfie reports capture.deepfake; null when there was nothing to check. score is 0 to 100, higher is more likely fake. See Sensor Print.
verdict | Meaning | Effect |
|---|---|---|
genuine | A real camera. | None |
suspicious | Signs of manipulation. | Review, CAPTURE_MEDIA_SUSPICIOUS |
synthetic | No real camera: a face swap, AI face, virtual camera or replay. | Decline, CAPTURE_SYNTHETIC_MEDIA |
insufficient | Not enough to judge; score is null. | No finding |
The camera and the document photo
A block says scored: false while it is only reported and does not change the decision.
| Field | Meaning |
|---|---|
document.capture | from_screen, printed_copy, edited. null means unclear. Absent when no document could be read. generated: whether the picture appears generated, with content_credentials (generator, present or none). portrait: whether the portrait appears replaced. Each has a status (clear, found, insufficient or not_provided) and is null while it is off. |
capture.sensor_print | on, or off when sensor_print is off: the camera blocks below and capture.deepfake are then null. |
capture.card | Each side: status (found or not_found), cut_off, the problems seen on the card itself, and frames (sent, best, kept). fields: each name and the document number on the front, agrees, differs or not_read. null when not measured. |
capture.document_media | verdict and score, as above, for the document photo. null when there was nothing to check. |
capture.camera_sensor, capture.document_camera | frames, consistency, other_identities (other people this camera verified on your account), best_match. null when there was nothing to read. |
capture.environment | consistent: true, false or null when not measured. |
capture.motion | status: consistent, inconsistent, static, unavailable, insufficient. null when not measured. |
| Reason | Meaning |
|---|---|
DOC_SCREEN_RECAPTURE | The document was photographed from a screen. |
DOC_PRINTED_COPY | A printed copy, not the card. |
DOC_EDITED_FILE | The document image was edited. |
DOC_CAPTURE_SYNTHETIC, DOC_CAPTURE_SUSPICIOUS | The document image appears synthetic, or shows signs of manipulation. |
CAPTURE_CAMERA_REUSED, CAPTURE_DOC_CAMERA_REUSED | The same camera took selfies, or photographed documents, for other people. |
CAPTURE_ENVIRONMENT_MISMATCH | The surroundings do not match where the person appears to be. |
CAPTURE_MOTION_MISMATCH, CAPTURE_STATIC_RIG | The capture did not look like a person holding a phone. |
Webhooks
data is the verification above. Test events carry "test": true. Set-up is in Webhooks (X-Signet-Signature).
| Event | When |
|---|---|
verification.completed | A decision was made. |
verification.reviewed | A person approved or declined it, or passed one of its checks. |
verification.expired | The link ran out. |
verification.retried | It was retried: data is the old verification, with retried_by. |
Review and audit
Or use the ID Verification console.
| Call | Purpose |
|---|---|
POST /v1/verifications/{id}/review | { "outcome": "approved" | "declined", "note": "..." } |
POST /v1/verifications/{id}/cancel | Stop an unfinished one. |
POST /v1/verifications/{id}/checks/{check}/override | { "reason": "..." }: pass one failed check and decide again. See below. |
POST /v1/verifications/{id}/label | { "label": "fraud" | "genuine", "note": "..." }: what you learned later. See below. |
POST /v1/verifications/{id}/retry | { "steps": ["document"] }: ask the person again for some steps. See below. |
POST /v1/verifications/{id}/recheck | { "reason": "..." }: a later selfie of an approved person. See below. |
GET /v1/verifications/{id}/events | The audit trail. |
GET /v1/verifications/{id}/images, /images/{kind} | Stored images: document_front, document_back, selfie. Every view is audited. |
DELETE /v1/verifications/{id} | Erase images and personal data; keep the decision, codes and audit trail. |
Ask again
When a photo was poor, ask for that step again instead of starting over. The console has it as Ask again.
| Rule | What happens |
|---|---|
steps | document, selfie or both. Otherwise 400 unknown_step. |
| The answer | A new verification with its own url and retry_of (the old id and the steps asked again). The old one shows retried_by. It counts as one verification. |
| Steps not named | Kept from the old verification while its photos are stored; after that, asked again too. |
| Steps named | Their photos and what was read from them are deleted from the old verification at once. Its decision and audit trail stay. |
| Which ones | A decided verification, once: retry the newest. Otherwise 409 not_retryable. |
| How often | Twice per person, by reference (or along the retries without one). Then 409 retry_limit_reached. |
Pass one check
| Rule | What happens |
|---|---|
| When | One check got it wrong: pass that check and keep the rest. In the console: Pass a check by hand. |
check | document, face_match, liveness or watchlist. Otherwise 400 unknown_check. |
reason | What you saw, 10 to 1000 characters. Otherwise 400 invalid_reason. |
| The answer | The check's findings make way for CHECK_OVERRIDDEN, and the verification is decided again from the rest, by the same rules. It can still be declined or in review. |
| The record | overrides lists each check passed: the codes set aside, the reason, who, when, and the decision before and after. The audit trail keeps the first decision. |
| Never | An expired document, someone under the minimum age, another face, a face that is not live, or a document whose data is invalid: 409 not_overridable. Ask again instead. |
| Which ones | A decided verification that was not reviewed, retried or erased, and a check that failed or asks for a review. Otherwise 409. |
This was fraud, this was genuine
| Rule | What happens |
|---|---|
| When | You learn how it ended, a chargeback or a customer you know. In the console: This was fraud and This was genuine. |
| The decision | Never changes: the outcome, the reason codes and the webhooks stay as they were. |
| The answer | label: value, note, who and when. The latest label stands; each one is in the audit trail. |
| Your devices | The device sessions the verification is linked to get the same label as POST /v1/feedback. The fraud network hears of it only if your account takes part. Test verifications are never shared. |
| Which ones | A decided verification. Otherwise 409 not_labelable. |
Check again later
Before a payout change, a large order or a new device, ask an approved person for a quick live selfie. It is compared with their face from the approved check.
| Rule | What happens |
|---|---|
| Who | An approved verification whose person ticked the box on the consent screen. Otherwise 409 recheck_not_agreed or not_recheckable. |
| How long | While your account keeps verifications, three years at most: recheck_available_until. Then 409 recheck_expired. |
| The answer | A new verification with its url and recheck_of. Its result has recheck: face, similarity and scored. It counts as one verification. |
| Codes | RECHECK_FACE_MATCH; RECHECK_FACE_MISMATCH, a review while scored is false; RECHECK_NOT_COMPARED; FACE_MATCH_UNCERTAIN. |
| Erased | The kept face goes with the verification, a declined review or a redone selfie. |
Age checks
A live selfie first; an ID only for people who do not clearly look old enough. About Age Estimation
The call
An ID Verification with one check. min_age is 18 if you leave it out.
curl https://signetsentry.com/v1/verifications \
-H "Authorization: Bearer $SIGNET_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{ "checks": ["age"], "min_age": 21, "reference": "user_8841" }'
# -> { "id": "ver_...", "url": "https://.../v/vt_...", ... }
Then open url for the person.
What the person sees
- Consent, then a short live selfie that a photo or screen cannot pass.
- A face passes alone if it clearly looks older than your minimum.
- Anyone else shows an ID, matched to that selfie. An estimate never declines anyone.
The answer
From the verification.completed webhook, or GET /v1/verifications/{id}. Switch on outcome.
"outcome": "approved",
"checks": { "age": "passed", "document": "not_requested", ... },
"age_estimate": { "years": 34, "spread": 2.1, "frames": 4, "buffer": 7,
"over_18": "passed", "over_21": "passed", "min_age": "passed" }
age_estimate field | Meaning |
|---|---|
years, spread, frames | The estimate, its spread, and how many frames were used. |
buffer | The margin above the minimum needed to pass without an ID. |
over_18, over_21, min_age | passed; needs_document, which is not the same as too young; or unavailable. |
document_age, document_mismatch | With an ID: the holder’s age, and whether the face looks far older or younger. |
Age on an ID verification
With estimate_age on, every ID check with a selfie reports age_estimate too. Off, it is null. document_mismatch is a common sign of a borrowed ID.
Test values
scenario | Result |
|---|---|
approved | The face clearly passes. |
approved_age_needs_document | Falls back to an ID that checks out. |
declined_underage, declined_liveness, declined_deepfake | Declined. |
review_virtual_camera, review_device_reused, review_environment_mismatch, review_motion_mismatch, review_media_suspicious | Sent to review. |
Also works with /simulate. Try the model on sample faces in the age test.
Limits and errors
An estimate, not a fact: see the published error. The selfie is biometric data: the person consents first, frames are discarded and only whole years are kept. 1 ID verification per check. Self-hosting: Verify__AgeEstimation=true (about 600 MB, 1 GB of memory); without it, checks go straight to the ID. Also the common errors.
Sanctions Screening
POST /v1/screenings screens a name against the sanctions lists, in Latin, Cyrillic, Greek or Arabic script.
| Field | Meaning |
|---|---|
name | As the person writes it. Word order, accents and titles do not matter. |
date_of_birth | Full date or year, such as "1965-03-15". |
include_entities | true adds companies, vessels and aircraft. |
matches | Each has source, list_id, name, matched_name, score (0–1), strength (strong, possible), date_of_birth_match (null without both dates), programs, type, nationalities (ISO 3166-1 alpha-2). |
A match is a lead for a person to check, not a finding.
Settings
GET and PUT /v1/verifications/settings, live key only.
| Setting | Meaning |
|---|---|
image_retention_days | 0 to 90, default 7. Images in review stay until reviewed. |
duplicate_face_detection | Keep a face template and flag the face under another reference. Default off. |
default_checks, default_min_age | Used when a request names none (13 to 99). |
ask_location | An optional location step. Only the distance from the IP is kept. Default off. |
estimate_age | Estimate age from the selfie on ID checks (age_estimate). On by default. Left out of a PUT, it stays as it is. |
sensor_print | Sensor Print on ID checks. On by default. Off: the page sends no camera data, capture.sensor_print is "off", camera_sensor, deepfake, document_camera and document_media are null and give no reason codes; the other checks still decide. Left out of a PUT, it stays as it is. |
show_outcome | The hosted page’s last screen says “You are verified” when the verification is approved, or that you need to look and will be in touch when it is in review. Only once the result is final; a decline is never shown. Default off: the last screen says only that you have what you need. In a workflow, the ID or age step’s own show_outcome option decides. |
require_live_document | The document must be photographed on the page; a file answers 409 live_document_required. Default off. |
photo_retention_days | For Photo Proof: 0 to 90, default 30. |
display_name, brand_color | Up to 60 characters; #rrggbb. |
| Logo | PUT or DELETE /v1/verifications/settings/logo. PNG, JPEG or WebP up to 1 MB, fitted to 600×200. SVG is refused. |
branding colors | accent, button_text, background, surface, text, muted, header, border |
branding.mode | auto, light, dark |
branding.font | signet, system, humanist, geometric, rounded, serif, transitional, mono |
branding.radius | sharp, small, medium, large |
branding.button_style | solid, outline, pill |
branding.logo_display | logo_and_name, logo_only |
branding.logo_favicon | true uses the logo as the tab icon. |
branding.custom_css | Up to 20 KB. @import and external URLs do not work. The consent text always shows. |
branding.accent wins over brand_color. branding_warnings lists pairs below WCAG AA.
Test values
Pass scenario on create, call POST /v1/verifications/{id}/simulate, or pick on the hosted page. GET /v1/verifications/scenarios lists them: 27 scenarios, each with its story of steps. Test screenings match only "Sam Test Sanctioned".
scenario | Decision | What it simulates |
|---|---|---|
approved | allow | A valid license and a live selfie that matches. |
approved_document_only | allow | A valid license; level 1 without a selfie. |
approved_passport | allow | A valid passport. |
approved_passport_card | allow | A valid US passport card. |
approved_permanent_resident_card | allow | A valid US permanent resident card. |
approved_employment_authorization_card | allow | A valid US employment authorization card. |
approved_national_id_card | allow | A valid national ID card. |
approved_age_needs_document | allow | Age checks: the person showed an ID, which checks out. |
review_face_uncertain | review | Selfie and portrait are too close to call. |
review_barcode_unreadable | review | The back of the card could not be read. |
review_watchlist | review | The name matches a sanctions list entry (a made-up one). |
review_duplicate | review | The document was verified under another reference. |
review_virtual_camera | review | Images came from a virtual camera. |
review_device_reused | review | The device verified other people. |
review_photocopy | review | A copy, not the card. |
review_environment_mismatch | review | The surroundings do not match where the person appears to be. |
review_motion_mismatch | review | The capture did not look like a person holding a phone. |
review_media_suspicious | review | The selfie video shows signs of manipulation. |
review_screen_recapture | review | The document was photographed from a screen. |
review_printed_copy | review | A printed copy of the document. |
review_document_camera_reused | review | The camera photographed documents for other people. |
declined_expired | deny | The document expired. |
declined_underage | deny | The holder is under the minimum age. |
declined_face_mismatch | deny | The selfie is another person. |
declined_liveness | deny | A photo of a face. |
declined_deepfake | deny | No real camera behind the face. |
declined_tampered | deny | The document’s details disagree with each other. |
Limits and errors
1 ID verification each; tests are free. At the cap: 429 verification_quota_exceeded. Also the common errors.
Images until their deletion date: what is stored.