Verify Face
1:1 verification against an enrolled person by ID.
menu_bookAPI reference: Verify Face (1:1)expand_more
Official docs (EN): docs.verifik.co/biometrics/verify-face. Spanish: docs.verifik.co/verifik-es/verificar-cara.
Base URL https://api.verifik.co. Send the enrolled person's MongoDB id in id and one or more raw base64 face images in images (no data URL prefix). Optional collection_id scopes the check.
POST /v2/face-recognition/verify
1:1 against a known enrolled person: returns a data.match with score when the threshold is met.
| Header | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
| Param | Req | Description |
|---|---|---|
| id | Yes | Enrolled person MongoDB id |
| images | Yes | Array of base64 face images (same subject) |
| min_score | Yes | Match threshold (0.5–1) |
| search_mode | Yes | FAST or ACCURATE |
| collection_id | No | Optional collection scope |
await verifyFace(
{
id: "<personMongoId>",
images: ["<base64>", "<base64>"],
min_score: 0.75,
search_mode: "FAST",
collection_id: "<optionalCollectionMongoId>",
},
accessToken,
);- This demo uses
verifyFacefrom@humanauthn/api-clientwith your session token. - Responses include
data.matchand asignatureblock when enabled.
Related documentation
Official guides on docs.verifik.co
Face Comparison
1:1 face comparison between two image sets without an enrolled person id.
Face Comparison (Live)
1:1 comparison with liveness on the probe image.
Compare with Liveness
1:1 comparison plus configurable liveness thresholds.
Face Search (1:N)
Search by face image against enrolled persons in your collections.
Liveness Detection
Determine if a face is live vs spoof; liveness score.