Real-time biometric verification with anti-spoofing protection.
Available Now:
- Create Liveness Session - Initialize face liveness verification
- Compare Faces - Match two face images with similarity scoring
Powered by AWS Rekognition with 95%+ accuracy.
path Parameters
sessionIdHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Responses
OK
session_idUnique session identifier for this liveness verification
statusStatus of the liveness verification
confidenceConfidence score of liveness detection (0-100, where 100 is highest confidence)
is_liveBoolean indicating if the person is determined to be live (not a spoof)
reference_imageBase64-encoded reference image captured during liveness check
audit_imagesArray of base64-encoded audit images captured during the liveness check process
created_atISO-8601 timestamp when the session was created
messageHuman-readable message about the verification result
path Parameters
sessionIdHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Responses
OK
Result of AWS Rekognition face liveness verification with confidence score and audit images
Result of AWS Rekognition face comparison between two images with similarity score and quality metrics
overallSuccessmessageCreate Liveness Session
Create AWS Rekognition liveness session for face verification. Client uses session ID with AWS SDK to perform liveness check, then retrieves results. Includes anti-spoofing and multi-challenge face detection.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Request Body
client_session_idOptional client-provided session identifier for tracking
Optional settings for the liveness session
Responses
Liveness session created successfully
session_idUnique session identifier to use for liveness verification
statusCurrent status of the liveness session
created_atISO-8601 timestamp when the session was created
expires_atISO-8601 timestamp when the session will expire (typically 15 minutes after creation)
Compare Faces
Compare two face images and return similarity score (0-100) and match determination. Supports ID photo to selfie comparison with configurable threshold. Input: Base64-encoded images.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Request Body
sourceImagetargetImageResponses
Face comparison completed successfully
similaritySimilarity score between the two faces (0-100, where 100 is identical)
is_matchBoolean indicating if the faces match based on the threshold
confidenceConfidence score for the face comparison (typically same as similarity)
thresholdThreshold used to determine if faces match (default: 80.0)
Quality metrics for the source image (first image compared)
Quality metrics for the target image (second image compared)
messageHuman-readable message about the face match result
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Request Body
sourceImagetargetImageResponses
OK
similaritySimilarity score between the two faces (0-100, where 100 is identical)
is_matchBoolean indicating if the faces match based on the threshold
confidenceConfidence score for the face comparison (typically same as similarity)
thresholdThreshold used to determine if faces match (default: 80.0)
Quality metrics for the source image (first image compared)
Quality metrics for the target image (second image compared)
messageHuman-readable message about the face match result
path Parameters
sessionIdHeaders
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Responses
OK
session_idUnique session identifier for this liveness verification
statusStatus of the liveness verification
confidenceConfidence score of liveness detection (0-100, where 100 is highest confidence)
is_liveBoolean indicating if the person is determined to be live (not a spoof)
reference_imageBase64-encoded reference image captured during liveness check
audit_imagesArray of base64-encoded audit images captured during the liveness check process
created_atISO-8601 timestamp when the session was created
messageHuman-readable message about the verification result