/authenticate_face
Authorize an additional image against a user already registered in our database
Endpoint
https://be.progeny.tech/api/v3/services/authenticate_face/
Purpose
Allows you to connect to the Liveness and Face Compare services, using the providers configured in the Progeny Console, to authenticate an image of a person's face against the UUID of an already registered image in our database, performing both a liveness and likeness check.
Connecting to both services means we can determine whether the image is of a live human being and additionally that the image represents a likeness of the person already registered.
Sample request and response
Get a task Id
POST
https://be.progeny.tech/api/v3/services/authenticate_face/
Request Body
image*
String
The file path to an image of the user's face in PNG, JPEG, or JPG file format
uuid*
String
The universally unique identifier of the registered user you want to authorize the image against. See /register_face
extend_data
String
Set to true to retrieve the original response from the 3rd-party providers of Liveness and Face Compare services
{
"image": [
"The submitted data was not a file. Check the encoding type on the form."
],
"uuid": [
"This field is required."
]
}
Authorize an additional image
GET
https://be.progeny.tech/api/v3/services/task/?id={{task_id}}
Path Parameters
id*
String
The task Id you obtained from your POST request
{
"id": 2172,
"status": "SUCCESS",
"result": {
"status": 200,
"data": {
"authentication": {
"result": true,
"data": {
"matchScore": "20.0",
"scorePercent": "100.0"
}
},
"liveness": {
"data": {
"score": 2.5943651,
"quality": 0.8175214,
"probability": 0.930498
},
"result": true
}
}
}
}
Last updated
Was this helpful?