Create Person with Liveness

Create Person with Liveness

Enroll + liveness check + deduplication search in one call.

menu_bookAPI reference: Create Person with Livenessexpand_more

Official docs (English): docs.verifik.co/resources/create-a-person-with-liveness

Documentación (Español): docs.verifik.co/verifik-es/resources/personas/crear-una-persona-con-deteccion-de-vida

Base URL https://api.verifik.co. Send JSON with profile fields, a single collection_id (collection _id), liveness and search thresholds, and at least one base64 face image per entry in images (no data URL prefix).

POST /v2/face-recognition/persons/search-live-face

Runs liveness on the submitted face(s), searches for similar enrollments, then creates or updates a person in the target collection.

HeaderValue
Content-Typeapplication/json
AuthorizationBearer <token>
ParamReqDescription
nameYesDisplay name
imagesYesArray of base64 face images (raw base64, not data URLs)
genderYesM or F
date_of_birthYesYYYY-MM-DD
collection_idYesSingle collection unique id
liveness_min_scoreYes0.5–1
min_scoreYesInternal search threshold, 0.5–1
search_modeYesFAST or ACCURATE
nationalityNoOptional
await fetch("https://api.verifik.co/v2/face-recognition/persons/search-live-face", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${accessToken}`,
  },
  body: JSON.stringify({
    name: "Jane Doe",
    gender: "F",
    date_of_birth: "1990-01-15",
    collection_id: "<collectionMongoId>",
    liveness_min_score: 0.65,
    min_score: 0.8,
    search_mode: "FAST",
    nationality: "CO",
    images: ["<base64>", "<base64>"],
  }),
});
  • This demo uses createPersonWithLiveness from @humanauthn/api-client with your session token.
  • Responses may include a signature block alongside data depending on environment.
menu_book

Official guides on docs.verifik.co