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

Face authentication (deprecated)

Face authentication

post

It performs facial authentication, i.e., it checks if the face that is in the photo sent is the same as the one linked to the CPF in our base.

Query parameters
shouldSignResponsebooleanOptional

Specifies whether the request should be signed. The default is false. e.g. shouldSignResponse=true.

Default: false
Header parameters
AuthorizationstringRequired

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

Body
peopleIdstringRequired

CPF of the user you want to authenticate (only numbers).

imageUrlstringOptional

URL of the image to be validated.

Responses
200

Success

application/json
requestIdstringRequired

Unique identifier of request.

Example: 2b8f373-c462-4bbf-9a4f-8aeb7d71ec53
isMatchbooleanRequired

Indicates whether the facial authentication has been approved.

Example: true
post/faces/authenticate

Face authentication attempt

get

Get a face authentication attempt based on the provided attempt ID.

Path parameters
attemptIdstringOptional

Authentication attempt ID

Example: xxxxxxf41e2fcd832e6xxxxx
Header parameters
AuthorizationstringRequired

Mobile API Authorization Token

Body
anyOptional
Responses
200

Authentication attempt success

application/json
requestIdstringOptional

Request ID

Example: 86bb55c3-cecd-4643-95c7-188bb45a60a9
get/faces/authenticate/{attemptId}

Last updated