For the complete documentation index, see llms.txt. This page is also available as Markdown.

Registro facial (obsoleto)

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.

Parâmetros de cabeçalho
AuthorizationstringObrigatório

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

Corpo
peopleIdstringObrigatório

CPF of the user present in the image.

Example: 00011122233
imageUrlstringObrigatório

URL of the image containing the user's face

Example: https://images.generated.photos/DQ4EKrAPT-e5slG3cXmSw20uJ2AwwhOzJeVnpI9tlMA/rs:fit:512:512/Z3M6Ly9nZW5lcmF0/ZWQtcGhvdG9zLzA5/OTk4MDcuanBn.jpg
Respostas
200

Success

application/json
requestIdstringObrigatório

Unique identifier of request.

Example: 2b8f373-c462-4bbf-9a4f-8aeb7d71ec53
messagestringObrigatório

Return message from the action.

Example: Ação realizada com sucesso.
post/faces/register
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."
}

Atualizado