Skip to main content

Liveness API

The ezto verify liveness API enables to automate liveness detection and verification processes directly from their systems through secure, developer-friendly interfaces

Base URL

Path Params

Headers

Request Body

Below is the request body structure for the Liveness endpoint

requestedVerificationstringRequired

client_idstringRequired

metadatastringRequired

video_filefileRequired

expectedstringRequired

hook_urlstringRequired

auth_tokenstring

Sample Request Body
{
"client_id": "{{client_id}}",
"requestedVerification": "liveness",
"video_file" : "{{video file}}",
"metadata": {
"blink": {
"video": {
"start": 2.93218,
"end": 3.43198
}
},
"movement": {
"video": {
"start": 7.5299700000000005,
"end": 9.52958
}
},
"fingerCount": {
"video": {
"start": 2.39886,
"end": 3.39886
}
},
"speech": {
"video": {
"start": 3.4653,
"end": 8.49665
}
}
},
"expected": {
"fingerCount": {
"enabled": true,
"expected": 5
},
"blink": {
"enabled": true,
"expected": 2
},
"speech": {
"enabled": true,
"expected": "Hat"
},
"movement": {
"enabled": true
}
},
"hook_url": "https://webhook.site"
}

Response Body

Here is the response body and response sample for the "requestedVerification":"liveness"

bodystring

HTTP STATUS CODE SUMMARY
200OKSuccessfully done.
201OKSuccessfully created.
400Bad RequestThe request was unacceptable, often due to missing a required parameter.
401UnauthorizedUnauthorized access try with correct access.
402Request FailedThe parameters were valid but the request failed.
403ForbiddenThe Application doesn't have permissions to perform the request.
404Not FoundThe requested resource doesn't exist.
500Server ErrorsSomething went wrong on ezto verify's end. (These are rare.)
503Server ErrorsService temporarily unavailable.
Loading...