Signet

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.

API reference

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_...", ... }
FieldMeaning
checksAny of document, selfie, watchlist; or age alone for an age check. Default: document and selfie, or your default_checks.
levelShortcut: 1 is document, 2 is document and selfie.
document_typeany (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_ageThe holder’s minimum age.
referenceYour ID for the person. Tells a retry from someone else using the document.
session_idA session from your page. Adds its device risk.
return_urlhttps. 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.
scenarioTest 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
}
FieldMeaning
outcomeSwitch on this: approved, in_review, declined, pending, expired, canceled. A reviewer’s decision replaces it.
statusThe link: created, started, processing, completed, expired, canceled.
decisionallow, review or deny, with risk_score, reason_codes, reasons and summary.
assurance_level1: the document checks out. 2: it also belongs to the person.
checksEach passed, failed, review, not_requested or unavailable.
captureCamera, automation and device findings. The camera
watchlistscreened and matches.
imagesstored, delete_after
riskRun 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.
Alsodocument, 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.

ReasonMeaningEffect
DOC_FRONT_DATES_CONSISTENTThe printed details are consistent.None
DOC_FRONT_DATE_MISMATCHA printed date is inconsistent.Review
DOC_FRONT_DATE_POSSIBLE_MISMATCHA printed date may be inconsistent.Adds risk
DOC_FRONT_FIELD_MISMATCHA printed name or the document number is inconsistent.Review

Made or altered documents

ReasonMeaning
DOC_GENERATED_IMAGEThe document picture appears to be generated, not photographed.
DOC_PORTRAIT_REPLACEDThe 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.

verdictMeaningEffect
genuineA real camera.None
suspiciousSigns of manipulation.Review, CAPTURE_MEDIA_SUSPICIOUS
syntheticNo real camera: a face swap, AI face, virtual camera or replay.Decline, CAPTURE_SYNTHETIC_MEDIA
insufficientNot 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.

FieldMeaning
document.capturefrom_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_printon, or off when sensor_print is off: the camera blocks below and capture.deepfake are then null.
capture.cardEach 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_mediaverdict and score, as above, for the document photo. null when there was nothing to check.
capture.camera_sensor, capture.document_cameraframes, consistency, other_identities (other people this camera verified on your account), best_match. null when there was nothing to read.
capture.environmentconsistent: true, false or null when not measured.
capture.motionstatus: consistent, inconsistent, static, unavailable, insufficient. null when not measured.
ReasonMeaning
DOC_SCREEN_RECAPTUREThe document was photographed from a screen.
DOC_PRINTED_COPYA printed copy, not the card.
DOC_EDITED_FILEThe document image was edited.
DOC_CAPTURE_SYNTHETIC, DOC_CAPTURE_SUSPICIOUSThe document image appears synthetic, or shows signs of manipulation.
CAPTURE_CAMERA_REUSED, CAPTURE_DOC_CAMERA_REUSEDThe same camera took selfies, or photographed documents, for other people.
CAPTURE_ENVIRONMENT_MISMATCHThe surroundings do not match where the person appears to be.
CAPTURE_MOTION_MISMATCH, CAPTURE_STATIC_RIGThe 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).

EventWhen
verification.completedA decision was made.
verification.reviewedA person approved or declined it, or passed one of its checks.
verification.expiredThe link ran out.
verification.retriedIt was retried: data is the old verification, with retried_by.

Review and audit

Or use the ID Verification console.

CallPurpose
POST /v1/verifications/{id}/review{ "outcome": "approved" | "declined", "note": "..." }
POST /v1/verifications/{id}/cancelStop 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}/eventsThe 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.

RuleWhat happens
stepsdocument, selfie or both. Otherwise 400 unknown_step.
The answerA 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 namedKept from the old verification while its photos are stored; after that, asked again too.
Steps namedTheir photos and what was read from them are deleted from the old verification at once. Its decision and audit trail stay.
Which onesA decided verification, once: retry the newest. Otherwise 409 not_retryable.
How oftenTwice per person, by reference (or along the retries without one). Then 409 retry_limit_reached.

Pass one check

RuleWhat happens
WhenOne check got it wrong: pass that check and keep the rest. In the console: Pass a check by hand.
checkdocument, face_match, liveness or watchlist. Otherwise 400 unknown_check.
reasonWhat you saw, 10 to 1000 characters. Otherwise 400 invalid_reason.
The answerThe 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 recordoverrides 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.
NeverAn 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 onesA 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

RuleWhat happens
WhenYou learn how it ended, a chargeback or a customer you know. In the console: This was fraud and This was genuine.
The decisionNever changes: the outcome, the reason codes and the webhooks stay as they were.
The answerlabel: value, note, who and when. The latest label stands; each one is in the audit trail.
Your devicesThe 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 onesA 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.

RuleWhat happens
WhoAn approved verification whose person ticked the box on the consent screen. Otherwise 409 recheck_not_agreed or not_recheckable.
How longWhile your account keeps verifications, three years at most: recheck_available_until. Then 409 recheck_expired.
The answerA new verification with its url and recheck_of. Its result has recheck: face, similarity and scored. It counts as one verification.
CodesRECHECK_FACE_MATCH; RECHECK_FACE_MISMATCH, a review while scored is false; RECHECK_NOT_COMPARED; FACE_MATCH_UNCERTAIN.
ErasedThe 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

  1. Consent, then a short live selfie that a photo or screen cannot pass.
  2. A face passes alone if it clearly looks older than your minimum.
  3. 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 fieldMeaning
years, spread, framesThe estimate, its spread, and how many frames were used.
bufferThe margin above the minimum needed to pass without an ID.
over_18, over_21, min_agepassed; needs_document, which is not the same as too young; or unavailable.
document_age, document_mismatchWith 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

scenarioResult
approvedThe face clearly passes.
approved_age_needs_documentFalls back to an ID that checks out.
declined_underage, declined_liveness, declined_deepfakeDeclined.
review_virtual_camera, review_device_reused, review_environment_mismatch, review_motion_mismatch, review_media_suspiciousSent 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.

FieldMeaning
nameAs the person writes it. Word order, accents and titles do not matter.
date_of_birthFull date or year, such as "1965-03-15".
include_entitiestrue adds companies, vessels and aircraft.
matchesEach 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.

SettingMeaning
image_retention_days0 to 90, default 7. Images in review stay until reviewed.
duplicate_face_detectionKeep a face template and flag the face under another reference. Default off.
default_checks, default_min_ageUsed when a request names none (13 to 99).
ask_locationAn optional location step. Only the distance from the IP is kept. Default off.
estimate_ageEstimate age from the selfie on ID checks (age_estimate). On by default. Left out of a PUT, it stays as it is.
sensor_printSensor 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_outcomeThe 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_documentThe document must be photographed on the page; a file answers 409 live_document_required. Default off.
photo_retention_daysFor Photo Proof: 0 to 90, default 30.
display_name, brand_colorUp to 60 characters; #rrggbb.
LogoPUT or DELETE /v1/verifications/settings/logo. PNG, JPEG or WebP up to 1 MB, fitted to 600×200. SVG is refused.
branding colorsaccent, button_text, background, surface, text, muted, header, border
branding.modeauto, light, dark
branding.fontsignet, system, humanist, geometric, rounded, serif, transitional, mono
branding.radiussharp, small, medium, large
branding.button_stylesolid, outline, pill
branding.logo_displaylogo_and_name, logo_only
branding.logo_favicontrue uses the logo as the tab icon.
branding.custom_cssUp 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".

scenarioDecisionWhat it simulates
approvedallowA valid license and a live selfie that matches.
approved_document_onlyallowA valid license; level 1 without a selfie.
approved_passportallowA valid passport.
approved_passport_cardallowA valid US passport card.
approved_permanent_resident_cardallowA valid US permanent resident card.
approved_employment_authorization_cardallowA valid US employment authorization card.
approved_national_id_cardallowA valid national ID card.
approved_age_needs_documentallowAge checks: the person showed an ID, which checks out.
review_face_uncertainreviewSelfie and portrait are too close to call.
review_barcode_unreadablereviewThe back of the card could not be read.
review_watchlistreviewThe name matches a sanctions list entry (a made-up one).
review_duplicatereviewThe document was verified under another reference.
review_virtual_camerareviewImages came from a virtual camera.
review_device_reusedreviewThe device verified other people.
review_photocopyreviewA copy, not the card.
review_environment_mismatchreviewThe surroundings do not match where the person appears to be.
review_motion_mismatchreviewThe capture did not look like a person holding a phone.
review_media_suspiciousreviewThe selfie video shows signs of manipulation.
review_screen_recapturereviewThe document was photographed from a screen.
review_printed_copyreviewA printed copy of the document.
review_document_camera_reusedreviewThe camera photographed documents for other people.
declined_expireddenyThe document expired.
declined_underagedenyThe holder is under the minimum age.
declined_face_mismatchdenyThe selfie is another person.
declined_livenessdenyA photo of a face.
declined_deepfakedenyNo real camera behind the face.
declined_tampereddenyThe 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.