SDK Settings
POST
{{baseurl}}/v2/sdk/identity/liveness/settings
Headers
token*
String
API secret token
Request Body
threshold
String
The security threshold for liveness detection (default is "low").
Default value: low
Allowed values: "low"
, "mid"
, "high"
actions
Array
Array of liveness actions, like faceRotation, openMouth, zoom, blink, passive, motion and yesOrNo.
Default value: ["faceRotation"]
randomizeActions
Boolean
Whether to randomize the actions during the session (default is false).
Default value: false
numberofActions
Number
Number of actions to be performed in the session (default is 1).
Default value: 1
actionsDuration
Object
Object specifying duration for each action in seconds.
Default value: null
faceRotation
Number
Duration of the "faceRotation" action in seconds.
openMouth
Number
Duration of the "openMouth" action in seconds.
zoom
Number
Duration of the "zoom" action in seconds.
blink
Number
Duration of the "blink" action in seconds.
yesOrNo
Number
Duration of the "yesOrNo" action in seconds.
motion
Number
Duration of the "motion" action in seconds.
passive
Number
Duration of the "passive" action in seconds.
Last updated
Was this helpful?