Walkthrough Video
Overview
Liveness detection is a critical security layer that ensures:- Physical Presence: Confirms a real person is present during verification
- Anti-Spoofing Protection: Prevents attacks using photos, pre-recorded videos, or masks
- Face Matching: Optionally compares the live selfie with document photos
- Biometric Quality: Ensures sufficient image quality for reliable verification
Biometric Types
Passive Liveness
Users take a selfie photo and receive immediate feedback. Analyzes micro-movements and 3D structure from a single photo.Type:
PASSIVE_LIVENESSSelfie Video
Users record a short video with head motions. Analyzes movement patterns across video frames.Type:
SELFIE_VIDEOSelfie Photo
Users take a selfie photo without feedback. Static image analysis only.Type:
SELFIE_PHOTOConfiguration
API Integration
Step 1: Submit Selfie for Liveness Check
Endpoint:POST /api/v1/verifications/{verificationId}/send-inputs
Step 2: Get Verification Results
Endpoint:GET /api/v1/verifications/{verificationId}
Webhook Notification
Process Dependencies
Liveness can be used as input for other processes:- Document Verification: Uses liveness photo for face matching
- Video Agreement: Can reference liveness data for face comparison
Implementation Tips
User Experience
User Experience
- Guide users to well-lit areas for better capture
- Show face positioning guidelines during capture
- Handle camera permission denials gracefully
- Provide retry options for failed attempts
Technical Implementation
Technical Implementation
- Compress videos before upload (max 50MB recommended)
- Set appropriate capture duration limits (5-30 seconds)
- Validate media formats (MP4, WebM) client-side
- Handle network interruptions during upload
Security & Privacy
Security & Privacy
- Encrypt biometric data in transit and at rest
- Delete biometric data after processing
- Log liveness attempts for security monitoring
- Explain biometric data usage to users