Skip to main content
POST
Verify a document, and optionally a selfie, synchronously

Autorisations

Authorization
string
header
requis

vn_live_… or vn_test_…, from the console.

En-têtes

Idempotency-Key
string
Maximum string length: 255

Corps

front
file
requis

Document front (passport data page). JPEG, PNG or WebP, up to 12 MB.

back
file

CNI back. Omit for a passport.

selfie
file

Live photo of the holder. Omit to skip the face check.

Réponse

Replayed from the idempotency key

Five checks, each with bilingual evidence. final_verdict appears on reads once a reviewer decided.

id
string
requis
Pattern: ^vrf_[a-z0-9]{6,}$
verdict
enum<string>
requis
Options disponibles:
verified,
review,
rejected
score
number
requis
Plage requise: 0 <= x <= 1
document_type
enum<string>
requis
Options disponibles:
passport,
cni,
unknown
checks
object[]
requis
latency_ms
integer
requis
Plage requise: 0 <= x <= 9007199254740991
created_at
string<date-time>
requis
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
status
enum<string>
Options disponibles:
VERIFIED,
REVIEW,
REJECTED
document
object
fields
object | null
face_match
object | null
timings
object