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

Autenticação facial

Autenticação Facial

Autenticação Facial é um serviço biométrico que permite o registro facial e a autenticação por meio de comparação facial. Este recurso disponibiliza endpoints para registrar faces de pessoas e consultar tentativas de autenticação facial.

Registro Facial

O endpoint de registro permite associar uma imagem facial a um identificador de pessoa (personId), criando uma referência biométrica que será usada posteriormente para autenticação.

As faces registradas por este endpoint serão usadas para comparação facial por meio do CafSdk ou CafFaceLiveness SDKs. As SDKs documentadas como obsoletas não necessariamente usarão esses registros faciais.

Register Face

post
Parâmetros de cabeçalho
AuthorizationstringObrigatório

Bearer token

Corpo
personIdstringObrigatório

Unique person identifier (CPF, external ID, etc). Must be between 5 and 254 characters and contain only letters, numbers and special characters "@", ".", "_", "-". If personId contains only numbers and the symbols ".", "-", "/", these special characters are removed, as the value is interpreted as a document mask.

Example: 12345678901
imageUrlstringObrigatório

URL of the facial image to be registered. Must be a valid and accessible .jpg or .png URL

Example: https://example.com/face-image.png
Respostas
200

Face registered successfully

application/json
requestIdstringObrigatório

Unique identifier of request

Example: bb1ce1fd-5d0d-42af-bb0e-16f56b230a20
messagestringObrigatório

Status message

Example: Face registration in progress
personIdstringObrigatório

Person identifier

Example: 12345678901
post/faces

Consulta de Tentativa de Autenticação Facial

O endpoint de consulta permite recuperar informações sobre uma tentativa específica de autenticação facial, incluindo as URLs das imagens usadas.

Query Attempt

get
Parâmetros de rota
attemptIdstringObrigatório

Unique identifier of the authentication attempt.

Example: 01K1XDD6W98M5QM9B8EAZZDV49
Parâmetros de cabeçalho
AuthorizationstringObrigatório

Bearer token

Respostas
200

Attempt found successfully

application/json
requestIdstringObrigatório

Unique identifier of request

Example: bb1ce1fd-5d0d-42af-bb0e-16f56b230a20
get/faces/attempts/{attemptId}

Atualizado