POST
/
liveness
/
enroll
curl --request POST \
  --url https://api.sandbox.verisoul.ai/liveness/enroll \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "session_id": "0007b793-ae5d-45a2-8d9f-4a5b573c3271",
  "account_id": "example-account-id"
}'
{
  "request_id": "8757569c-61e6-454b-afc9-59232e861496",
  "success": true
}

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
session_id
string
required

The session ID obtained from the /liveness/session endpoint

account_id
string
required

Unique identifier for the user account

Response

200 - application/json
Enrollment successful
request_id
string
required

Unique identifier for the request

success
boolean
required

Indicates whether the enrollment was successful