Verify Identity
Server-to-Server
Verify Identity
Run document scan, face detect, and face compare in a single call
POST
Verify Identity
/v1/document/scan, /v1/face/detect on the selfie, and /v1/face/compare between the document photo and the selfie — in parallel — and returns a single aggregated response with an overallConfidence score.
Use this when you have both images already and want one round-trip instead of orchestrating three calls yourself. If you only have one of the two images, call the individual endpoints directly.
Request
Headers
Body parameters
You can mix input modes — for example, send
documentImage as a JSON S3 key (from an earlier presigned upload) and faceImage as fresh multipart bytes. See the overview for the shared image rules.
Example request
Response
200 — Success
All confidence and threshold values on this response are reported on a 0–100 scale.document
faceDetection
faceMatch
Error responses
How overallConfidence is calculated
overallConfidence is a fixed weighted blend of the three sub-results:
The weights are fixed today. If you need to apply your own policy on top of the individual signals, use the per-block fields and ignore
overallConfidence.
Partial failures
The three sub-calls run in parallel and are independent. If one fails (for example, no face detected in the selfie), the others still run and the corresponding block reports the failure in-band rather than 4xx-ing the whole request. Always inspect each block before acting onoverallConfidence.