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

Facial Extraction

Service that performs the facial detection and validation from an open or tokenized image.

Endpoint

POST /extractFacial

Headers

Name
Type
Required
Description

x-api-key

string

Yes

Access authorization API key.

family

string

No

Value: Onboarding. Required with the tracking service.

All calls to the Endpoints for Tracking with Identity Platform must contain the header family.

Request body

Content-Type: application/json

Parameters

Parameter
Type
Required
Description

tokenBuffer

string

Yes

Image encoded in Base64 or tokenized for facial detection.

tracking

object

No

Object that represents the necessary tracking information.

tracking.extraData

string

No

Token generated by the Mobile/Web SDK. Contains tokenized tracking information with the Platform.

tracking.operationId

string

No

Operation identifier generated by the Mobile/Web SDK.

Request example

Responses

200 Success

Response parameters

Parameter
Type
Description

serviceResultCode

integer

Code indicating the overall result of the service execution.

serviceResultLog

string

Descriptive field of the result or error message, if applicable.

serviceTime

string

Request processing time (milliseconds).

serviceFacialExtractionResult

string

JSON object representing the results of facial detection and validation. See Result fields.

serviceTransactionId

string

Transaction identifier associated with the request processed by the API.

Facial extraction result fields

Field
Type
Description

faceConfidence

float

Indicates the confidence level of the evaluated face.

age

integer

Indicates the possible age detected.

glasses

string

Indicates eyeglasses detection. Possible values: Eye (Glasses), None (None), Sun (Sunglasses)

gender

string

Returns the detected gender. Possible values: Male, Female, None (Undetermined)

iod

integer

Indicates the interpupillary distance.

Service Result Code

The serviceResultCode indicates the overall result of the service execution:

serviceResultCode
Description
HTTP code

0

The service execution was successful, the module processed the request correctly.

200

Response example

400 Bad Request

401 Unauthorized

403 Forbidden

502 Bad Gateway

504 Gateway Timeout

Last updated