Create Liveness Session
Create a new AWS Rekognition Face Liveness session for anti-spoofing verification
Request Body optional
client_session_idOptional client-provided session ID for tracking
Responses
Liveness session created successfully
session_idstatuscreated_atexpires_atGet Liveness Session Results
Retrieve the results of a completed liveness session including confidence scores
path Parameters
sessionIdLiveness session ID
Responses
Liveness results retrieved
session_idstatusconfidenceLiveness confidence score (0-100)
is_liveTrue if person is determined to be live (not a spoof)
reference_imageBase64-encoded reference image
messageVerify Liveness Session
Verify a liveness session is authentic with anti-spoofing checks
path Parameters
sessionIdLiveness session ID to verify
Responses
Liveness verified
session_idstatusconfidenceLiveness confidence score (0-100)
is_liveTrue if person is determined to be live (not a spoof)
reference_imageBase64-encoded reference image
messageFace Match - Compare Faces
Compare selfie to ID photo for biometric face matching. Returns similarity score (0-100) and match determination.
Request Body
sourceImageBase64-encoded source image (e.g., selfie)
targetImageBase64-encoded target image (e.g., ID photo)
Responses
Face comparison completed
similarityis_matchconfidencethresholdmessageValidate Face Comparison
Validate face comparison result meets threshold
Request Body
sourceImageBase64-encoded source image (e.g., selfie)
targetImageBase64-encoded target image (e.g., ID photo)
Responses
Validation result
similarityis_matchconfidencethresholdmessageVerify Liveness with Document
Verify liveness session and compare with ID document photo
path Parameters
sessionIdResponses
Rate Limiting Response
typeA URI reference that identifies the problem.
titleA short, human-readable summary of the problem.
statusThe HTTP status code.
instanceID Scan - Extract Data from Omang, Passport & Driver's License
Extract data from ID document images using OCR and AI. Supports Botswana Omang, Passports, and Driver's Licenses.
Responses
Identity data extracted successfully
requestIdtimestampstatusID Validation - Verify Document Authenticity
Validate extracted identity data for format, checksum, and cross-reference consistency
Request Body
id_numberOmang or passport number
document_typedate_of_birthfull_nameResponses
Validation result
validchecksmessageLiveness Check - Anti-Spoofing Selfie Verification
Create liveness session to detect screens, masks, and deepfakes
Request Body optional
client_session_idOptional client-provided session ID for tracking
Responses
Liveness session created
session_idstatuscreated_atexpires_atGet Liveness Check Results
Get liveness verification results with confidence score
path Parameters
sessionIdSession ID
Responses
Liveness results
session_idstatusconfidenceLiveness confidence score (0-100)
is_liveTrue if person is determined to be live (not a spoof)
reference_imageBase64-encoded reference image
messageFace Match - Compare Selfie to ID Photo
Biometric comparison of selfie with ID document photo
Request Body
selfieSelfie image
idDocumentID document image
Responses
Face match result
similarityis_matchconfidencethresholdmessage
