Face registration (deprecated)
Does not support response signature. Additionally, only images in JPEG, PNG, and BMP formats are accepted.
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
peopleIdstringRequiredExample:
CPF of the user present in the image.
00011122233
imageUrlstringRequiredExample:
URL of the image containing the user's face
https://images.generated.photos/DQ4EKrAPT-e5slG3cXmSw20uJ2AwwhOzJeVnpI9tlMA/rs:fit:512:512/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zLzA5/OTk4MDcuanBn.jpg
Responses
200
Success
application/json
400
The access token has not been entered
401
The token used is not valid for this product
405
HTTP method not allowed
500
Internal server error
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