Skip to main content
POST
/
v1
/
liveness
/
check
Check Liveness
curl --request POST \
  --url https://api.kiriku.app/v1/liveness/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "isLive": true,
  "confidence": 123,
  "attackType": "<string>",
  "processingMs": 123,
  "scoreSmall": 123,
  "scoreLarge": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

The selfie image file. Max 10MB.

Response

200 - application/json

Liveness check completed

isLive
boolean
confidence
number
attackType
string | null
processingMs
number
scoreSmall
number
scoreLarge
number