ScreenlyyIDDocs
Docs › API reference › Identity verification

Liveness check

Uses a number of data points to check the likelihood that the selfie is of a real person. Send the selfie only, as a base64-encoded string in the request body.

POSThttps://api.screenlyyid.com/api/v1/liveness

Headers#

NameTypeRequiredDescription
x-api-keystringYesYour ScreenlyyID API key
x-correlation-idstring (uuid)YesCorrelation ID for this customer check

Request body#

FieldTypeRequiredDescription
SettingsobjectNo
Settings.SubscriptionIdstringNo
ImagestringNo

Responses#

StatusDescription
200Successful response

Code samples#

curl --request POST \
  --url 'https://api.screenlyyid.com/api/v1/liveness' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'x-correlation-id: YOUR_CORRELATION_ID' \
  --header 'Content-Type: application/json' \
  --data '{
  "Settings": {
    "SubscriptionId": "<SubscriptionId>"
  },
  "Image": "<base64-encoded image>"
}'