Our Biometric Authentication process provides comprehensive insights helping you understand both the liveness detection and facial matching results in a single verification flow.

Report Structure
The biometric authentication report includes both liveness detection and face matching components, providing a complete picture of the user's authentication attempt.
Core Response Fields
interface BiometricAuthenticationResponse {
session_id: string;
session_number: number;
vendor_data: string;
status: 'Approved' | 'Declined' | 'Not Finished';
workflow_id: string;
liveness: {
status: 'Approved' | 'Declined' | 'Not Finished';
method: 'ACTIVE_3D' | 'FLASHING';
score: number;
reference_image: string; // Temporary URL
video_url: string; // Temporary URL
warnings: {
risk: string;
additional_data: string | null;
log_type: 'information' | 'warning' | 'error';
short_description: string;
long_description: string;
}[];
};
face_match: {
status: 'Approved' | 'Declined' | 'Not Finished';
score: number;
source_image_session_id: string;
source_image: string; // Temporary URL
target_image: string; // Temporary URL
warnings: {
risk: string;
additional_data: string | null;
log_type: 'information' | 'warning' | 'error';
short_description: string;
long_description: string;
}[];
};
}
Sample Response
{
"session_id": "11111111-2222-3333-4444-555555555555",
"session_number": 1234,
"vendor_data": "user-123",
"status": "Approved",
"workflow_id": "biometric_authentication",
"liveness": {
"status": "Approved",
"method": "ACTIVE_3D",
"score": 89.92,
"reference_image": "https://example.com/reference.jpg",
"video_url": "https://example.com/video.mp4",
"warnings": []
},
"face_match": {
"status": "Approved",
"score": 75.43,
"source_image_session_id": "11111111-2222-3333-4444-555555555555",
"source_image": "https://example.com/source-image.jpg",
"target_image": "https://example.com/target-image.jpg",
"warnings": []
}
}
Understanding the Results
Overall Authentication Status
- "Approved" indicates both liveness detection and face matching were successful
- "Declined" suggests either liveness or face matching failed, potentially indicating fraud
Authentication Components
The biometric authentication combines two separate verifications:
- Liveness Detection: Verifies that a real person is present (not a photo or video)
- Face Matching: Confirms the person is the same as the
portrait_image
sent to the create session endpoint.
Both components must pass for the overall authentication to be approved.
For more information about potential warnings during biometric authentication, check our Biometric Authentication Warnings guide.
Security Note
The URLs provided for authentication images and videos are temporary and expire after 60 minutes for enhanced security. Ensure these media resources are handled with appropriate security measures and are not shared publicly. As a best practice, your application should only store the verification status and confidence scores, minimizing the amount of biometric data retained on your servers.