Face capture
Add face/Selfie image
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.
post/omni/add/face/third-party
Query parameters
imageType'selfie' | 'videoSelfie' | 'id' | 'nfc'
Image type. Default is selfie
captureType'AUTO' | 'MANUAL' | 'NATIVE' | 'UPLOAD'
externalCaptureIdstring
recordingIdstring
Headers
api-versionstring required
Request body
Example request
{
"base64Image": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEB...",
"imageUrl": "https://...",
"faceCoordinates": {
"leftEyeX": 1391.01,
"leftEyeY": 1334.62,
"rightEyeX": 918.383,
"rightEyeY": 1359.96,
"mouthX": 918.383,
"leftMouthX": 918.383,
"mouthY": 1359.96,
"leftMouthY": 1359.96,
"rightMouthX": 918.383,
"rightMouthY": 1359.96,
"noseTipX": 918.383,
"noseTipY": 1359.96,
"x": 448,
"y": 778,
"width": 1366,
"height": 1366
}
}Response
OK