API reference, Face capture

Add face/Selfie image

POSThttps://demo-api.incodesmile.com/omni/add/face/third-party

Uploads selfie image for onboarding session. Response will contain data regarding liveness — if that is the photo of a real person. Number of retries is not limited.

Note: After selfie and front-id are uploaded, endpoint for comparing faces process-face on those two images can be called.

It is required that person is alone on the photo.

Query parameters

imageTypestring

Image type. Default is selfie

enumselfievideoSelfieidnfc
captureTypestring
enumAUTOMANUALNATIVEUPLOAD
externalCaptureIdstring
recordingIdstring

Headers

api-versionstringrequiredDefaults to 1.0

Request body

application/json

base64Imagestring

Image of user's face represented in base64.

imageUrlstring

URL of face image, required to belong to a whitelisted domain

Face coordinates

Responses

Was this page helpful?