Face registration (deprecated)

Face registration

post

The faces registered in this service are used to perform facial authentication. Use this endpoint to link a face to a CPF in our database.

Header parameters
AuthorizationstringRequired

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

Body
peopleIdstringRequired

CPF of the user present in the image.

Example: 00011122233
imageUrlstringRequired

URL of the image containing the user's face

Example: https://images.generated.photos/DQ4EKrAPT-e5slG3cXmSw20uJ2AwwhOzJeVnpI9tlMA/rs:fit:512:512/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zLzA5/OTk4MDcuanBn.jpg
Responses
200
Success
application/json
post
POST /faces/register HTTP/1.1
Host: api.mobile.combateafraude.com
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 181

{
  "peopleId": "00011122233",
  "imageUrl": "https://images.generated.photos/DQ4EKrAPT-e5slG3cXmSw20uJ2AwwhOzJeVnpI9tlMA/rs:fit:512:512/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zLzA5/OTk4MDcuanBn.jpg"
}
{
  "requestId": "2b8f373-c462-4bbf-9a4f-8aeb7d71ec53",
  "message": "Ação realizada com sucesso."
}

Last updated