> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adherecompliance.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Face liveliness

## Face Liveliness Check

Face authentication with liveliness check

Liveliness check ensures the person being authenticated is physically present and not just a photograph or pre-recorded video.

Send a live selfie — either a short video or a single photo — and the endpoint scores it directly for liveness. Video formats: `.mp4`, `.mov`, `.webm`, `.avi`, `.m4v` — anything else is treated as a still image. Both are genuinely checked; you don't need to send video specifically.

#### Request Endpoint

`POST` `{{BASE_URL}}/api/onboarding/biometrics/face/liveliness_check/`

#### Sample Payload

```json theme={null}
{
    "image": "https://res.cloudinary.com/dh3i1wodq/video/upload/v1675417496/selfie_liveness.mp4"
}
```

200 OK Response

```json theme={null}
{
  "status": "success",
  "data": {
   "status":true,
   "detail":"Liveliness Detected",
   "response_code":"00",
   "confidence":0.9999987030029297,
   "confidence_in_percentage":99.99987030029297,
   "verification":{
      "status":"VERIFIED",
      "reference":"067cbed9-acda-4d30-97c2-7f8e0c2ad687"
   },
   "widget_info":{
      
   },
   "session":{
      
   }
},
  "message": "Face Liveliness successful"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.