Face Passive Liveness V1
Verify the presence of a real, live person in an image using passive liveness detection — no user action required. Returns a liveness score and confidence percentage.
The Face Passive Liveness V1 API uses computer vision to verify the presence of a real, live person in an image — without requiring any action or movement from the user. It distinguishes genuine faces from spoofing attempts such as printed photos, digital screens, or masks.
How It Works
Submit a single Base64-encoded face image. The API analyzes it and returns a liveness score and percentage, indicating the likelihood that the image represents a real, live person. A score above the threshold confirms liveness.
Request Parameters
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
apikey | string | Header | Yes | API key provided by Syntizen. Pass 0 to skip encryption. |
authkey | string | Header | Yes | Authentication token obtained from the /userauthentication endpoint. |
rrn | string | Body | Yes | Request Reference Number — any unique identifier for the transaction (e.g., "TXN001"). |
liveimage | string | Body | Yes | Base64-encoded face image to verify. Supported formats: JPG, PNG. |
Image Guidelines
- Supported formats: JPG, PNG.
- The image must contain exactly one clearly visible, forward-facing human face.
- The face should be well-lit and not heavily occluded (no sunglasses, masks, etc.).
- Only camera-captured images are accepted — screenshots will be rejected.
- The image should be taken in portrait mode as a selfie.
Response
On success, the API returns:
liveness— liveness percentage score (e.g.,"99.68").matchscore— raw liveness confidence score.threshhold— the threshold value used to determine liveness (default:50).quality— image quality score.fileid— internal file reference (nullable).
Authorization
AuthKeyAuth Authentication token obtained from /userauthentication endpoint
In: header
Header Parameters
API key provided by Syntizen
Authentication token obtained from /userauthentication endpoint
Request Body
application/json
Base64 encoded image (jpg, png)
Request Reference Number, any unique number for the identification of transaction
Response Body
application/json
application/json
application/json
curl -X POST "https://api.syntizen.com/CheckLiveness" \ -H "apikey: 0" \ -H "authkey: string" \ -H "Content-Type: application/json" \ -d '{ "rrn": "1", "liveimage": "/9j/4f//SQAcqBk9s9aevJMisuwA7h0zUeQwyR8oHapByrDgfhxQDiPAwwfaOOfr6VMCW+UbQfyqI5GZGzv4zx0FS4JJV9uOg+tBVj//Z" }'{
"respcode": "200",
"respdesc": "face liveness check completed",
"rrn": "1",
"matchscore": "0.9968439638614655",
"quality": "0",
"liveness": "99.68",
"fileid": null,
"threshhold": "50"
}{
"respcode": "400",
"respdesc": "Bad Request - Missing or invalid request parameters"
}{
"respcode": "401",
"respdesc": "Unauthorized - Invalid or expired auth key"
}Age Detection POST
Analyze an image to estimate the age of detected persons, supporting both face images and identity documents. Returns estimated age and cropped face for each detected face.
Face Liveness Pro POST
Face Liveness Pro API distinguishes live persons from spoofing attacks, deepfakes, and Generative AI avatars using a single image — no action or movement required.
