Skip to main content
POST
/
api
/
v1
/
biometrics
/
face
/
liveness
/
json
Liveness facial (JSON)
curl --request POST \
  --url https://flex-hml.flexdoc-apis.com.br/services/api/v1/biometrics/face/liveness/json \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."
}
'
"Liveness aprovado"

Authorizations

Authorization
string
header
required

Autentica o acesso a partir de usuário e senha e retorna o Bearer token JWT. Copie o access_token retornado e utilize-o no header Authorization para acessar os endpoints da API.

Body

application/json

Objeto JSON contendo a imagem (selfie) em base64 para verificação de liveness.

Payload para verificação de liveness facial, contendo a imagem em formato binário.

image
file
required

Imagem da selfie (JPG ou PNG).

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA..."

Response

Liveness aprovado.

The response is of type string.

Example:

"Liveness aprovado"