Legacy Restful API
1.0.0
1.0.0
  • Introduction
  • Biometric Engines
  • Getting Started
  • User
    • Create User
    • Delete User
  • Face Engine
    • Enroll Face
    • Verify Face
    • Adapt Face
    • Delete User Face Enroll
    • Find User Id by Face
    • Find Multiple Id by Face
    • Find Face Properties
  • Liveness
    • Biometrics Status
    • Biometrics Liveness
  • Voice Engine
    • Enroll Voice
    • Verify Voice
    • Adapt Voice
    • Delete User Voice Enroll
    • Get Available Languages
  • OCR Engine
    • Validate Document
    • Validate Document (base64)
    • Verify document photo
    • Verify document photo (base64)
  • Auxiliar Methods
    • Get enroll Status
    • Has Pending Dialogue
    • Restart User State
    • Find UserId by MacAddress
Powered by GitBook
On this page

Was this helpful?

  1. Liveness

Biometrics Liveness

This endpoint exists only for the integration of the ZoOm's liveness engine. This integration should only take place using the provided BiometrID WebSDK.

Biometrics Liveness

POST https://face.biometrid.com/biometrics/liveness

This endpoint performs a liveness check on a given `zoomSessionData` object

Headers

Name
Type
Description

content-type

string

Accepts multipart/form-data ou application/json. Usage to be manage while implementing the solution

x-app-token

string

Liveness app token use to identify and validate the used account

x-user-agent

string

Liveness engine generated string that contains informations about the session and user agent

Request Body

Name
Type
Description

zoomSessionData

string

Proprietary data objects generated by the ZoOm Web library. This attribute should be a base64 string when using content-type: application/json and blob (application/zip) when using content-type: multipart/form-data

sessionId

string

The session id is output from the ZoOm iOS/Android/Web SDK's, is a unique string, and is used for traceability when following this transaction/facemap through processing.

auditTrail

array

Array of base64 encoded images, taken during the liveness video process

{
  "meta": {
    "ok": true,
    "code": 200,
    "mode": "dev"
  },
  "data": {
    "livenessResult": "passed",
    "livenessScore": 86.91309364550425,
    "glassesScore": 8,
    "glassesDecision": false,
    "retryFeedbackSuggestion": 0,
    "message": "The facemap exhibited liveness"
  }
}
{
    "meta": {
        "ok": false,
        "code": 400,
        "mode": "dev",
        "message": "You must pass a valid zoomSessionData or facemap parameter",
        "subCode": "missingParameter"
    }
}
{
    "meta": {
        "ok": false, 
        "code": 401,
        "mode": "dev",
        "message": "The X-App-Token header you provided did not validate",
        "subCode": "badAppToken"
    }
}
{
    "meta": {
        "ok": false,
        "code": 403,
        "mode": "dev",
        "message": "No X-App-Token header found",
        "subCode": "noAppToken"
    }
}

PreviousBiometrics StatusNextEnroll Voice

Last updated 5 years ago

Was this helpful?