Face liveness (deprecated)

Face liveness

post

It checks whether the uploaded photo is authentic, detecting if it is not a photo or video.

Query parameters
shouldSignResponsebooleanOptional

Specifies whether the request should be signed. The default is false. e.g. shouldSignResponse=true.

Header parameters
AuthorizationstringRequired

Your access token. See more in the 'Authentication' topic of this section.

Body
imageUrlstringOptional

URL of the image to be tested.

Responses
200
Success
application/json
post
POST /faces/liveness HTTP/1.1
Host: api.mobile.combateafraude.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 57

{
  "imageUrl": "text",
  "person": {
    "cpf": "text",
    "name": "text"
  }
}
{
  "requestId": "2b8f373-c462-4bbf-9a4f-8aeb7d71ec53",
  "isAlive": true,
  "attemptId": "6021a21b3811c35ecb8dea20",
  "person": {
    "cpf": "00011122233",
    "name": "John Doe"
  },
  "message": null
}

Last updated