Search Active User

Search Active User

1:N face search without liveness—for active-user and session-style flows (single probe image).

menu_bookAPI reference: Face Search 1:N (Active User)expand_more

Official docs: docs.verifik.co/biometrics/search-active-user (1:N search without liveness—active-user / session flows).

Base URL https://api.verifik.co. Send one raw base64 probe in image, required os (ANDROID, IOS, or DESKTOP), plus min_score and search_mode. This demo uses DESKTOP.

POST /v2/face-recognition/search-active-user

Similar to live search, but no liveness gate—use when the user is already in an authenticated or trusted session.

HeaderValue
Content-Typeapplication/json
AuthorizationBearer <token>
ParamReqDescription
imageYesSingle base64 probe image
osYesANDROID, IOS, or DESKTOP
min_scoreYesMatch threshold (0.5–1.0)
search_modeYesFAST or ACCURATE
collection_idNoScope search to one collection
await fetch("https://api.verifik.co/v2/face-recognition/search-active-user", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${accessToken}`,
  },
  body: JSON.stringify({
    image: "<base64>",
    os: "DESKTOP",
    min_score: 0.75,
    search_mode: "FAST",
    collection_id: "<optionalCollectionMongoId>",
  }),
});
  • This demo uses searchActiveUser from @humanauthn/api-client with your session token.
  • For liveness + 1:N, use search-live-face instead (see Face Search 1:N Live in the docs).
menu_book

Official guides on docs.verifik.co