Face authentication (deprecated)
Supports response signature.
It performs facial authentication, i.e., it checks if the face that is in the photo sent is the same as the one linked to the CPF in our base.
Query parameters
shouldSignResponsebooleanOptionalDefault:
Specifies whether the request should be signed. The default is false. e.g. shouldSignResponse=true.
false
Header parameters
AuthorizationstringRequired
Your access token. See more in the 'Authentication' topic of this section.
Body
peopleIdstringRequired
CPF of the user you want to authenticate (only numbers).
imageUrlstringOptional
URL of the image to be validated.
Responses
200
Success
application/json
400
The access token has not been entered
401
The token used is not valid for this product
404
No face registered for the entered CPF
405
HTTP method not allowed
500
Internal server error
post
POST /faces/authenticate HTTP/1.1
Host: api.mobile.combateafraude.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 131
{
"peopleId": "text",
"imageUrl": "text",
"device": {
"operatingSystem": "text",
"fingerprint": "text",
"manufacturer": "text",
"model": "text"
}
}
{
"requestId": "2b8f373-c462-4bbf-9a4f-8aeb7d71ec53",
"isMatch": true
}
Last updated