curl --request POST \
  --url https://api.sandbox.verisoul.ai/liveness/verify-identity \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "session_id": "000fb9fc-3a12-4492-b825-6ec9916ffea7",
  "account_id": "example-account-id"
}'
{
  "request_id": "43eb9f8e-769c-4380-a3df-94925671746b",
  "success": true,
  "match": false
}

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
session_id
string
required

The session ID of a completed Face Match session

account_id
string
required

Unique identifier for the user account to verify against

Response

200
application/json

Verification completed successfully

request_id
string

Unique identifier for the request

success
boolean

Indicates whether the verification process was successful

match
boolean

Indicates whether the face in the current session matches the previously enrolled face for the account