Skip to main content
Perform passive liveness detection to verify whether a face image belongs to a real, live person.
This service detects spoof attempts such as printed photos, screen replays, masks, or AI-generated faces using anti-spoofing analysis.
POST/api/gw/services/liveness

Authorizations

string
required
API key used to authenticate the request.

Body

string
required
Base64-encoded face image used for liveness detection.
string
Original filename of the uploaded image.
string
Optional raw image bytes instead of Base64 input.

Response

boolean
Indicates whether the request was processed successfully.
string
Unique identifier for the API request.
string
Identifier used for tracing the request across systems.
object
Contains liveness detection results.
boolean
Indicates whether the subject is detected as a live person.
number
Confidence score of the liveness prediction (may be null).
string
Overall liveness decision status (e.g., Approved, Declined).
object | null
Contains error details if the request fails; otherwise null.
number
Time taken to process the request in milliseconds.
string
Timestamp when the request was processed (ISO 8601 format).