Biometrics
Face Liveness Check
Verify that a submitted facial image belongs to a live person, not a photograph or pre-recorded video.
POST
Face Liveness Check
The Face Liveness Check endpoint analyzes a facial image to confirm physical presence. It returns a confidence score and a verification status to help you distinguish real users from spoofing attempts.Documentation Index
Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request
Headers
| Header | Value | Required |
|---|---|---|
x-access-token | Your API secret key | Yes |
Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
image | string | Yes | URL of the facial image to check for liveness |
Example
Response
200 OK
| Field | Type | Description |
|---|---|---|
data.status | boolean | true if liveness detected, false otherwise |
data.detail | string | Human-readable liveness result |
data.response_code | string | "00" indicates success |
data.confidence | number | Raw confidence score (0–1) |
data.confidence_in_percentage | number | Confidence as a percentage |
data.verification.status | string | "VERIFIED" or "FAILED" |
data.verification.reference | string | Unique reference for this check |

