Likeness (Face Similarity) Check API
/likeness_check
Compares two face images and returns a similarity score plus a threshold-based pass or fail. Use it to validate whether an ID document portrait (typically from a driver licence) and a live selfie represent the same individual. The configurable similarity threshold lets you tighten or loosen the pass bar to suit your risk appetite.
Example Request
POSTRequest Schema
photo
Reference image. Typically the ID document portrait. JPEG or PNG. Max 5 MB.
probe_image
Probe image. Typically a live selfie. JPEG or PNG. Max 5 MB.
similarity_threshold
Override the default threshold. If omitted, the system default is applied.
Available Response Data
4 Data Pointsresult.similarity
biometric engine similarity score higher means more similar
result.threshold
threshold applied
result.biometric_passed
boolean, true when similarity is at or above the threshold
API reference UUID
API Data Scale & Coverage tag
Unmatched data depth to power your compliance and verification workflows.
Technical Use Cases tag
Selfie vs document matching
A standalone face match for use cases that don't need full ID Pass orchestration. For example, confirming a customer matches the photo on a previously uploaded document at sensitive workflow steps.
Step-up biometric authentication
Re-verify a customer at high-risk transaction points by matching a live selfie against their on-file enrolment photo.
Audit-quality identity match
Provide auditable biometric match evidence for compliance teams investigating identity disputes or fraud claims.
Compliance & Security tag
Enterprise-grade infrastructure audited against the standards your regulators require.
Common Questions tag
Everything you need to know about implementation details and compliance infrastructure.
rocket_launch Implementation
What happens if no face is detected?
add
What happens if no face is detected?
The API returns a 400 with the message no_face_found. Make sure both images contain a clear, frontal face before submitting.
rocket_launch Implementation
What file size and format are allowed?
add
What file size and format are allowed?
What file size and format are allowed? | answer: JPEG and PNG only. Maximum 5 MB per image. Supply as base64 data URIs (data:image/jpeg;base64,...) or raw base64.
rocket_launch Implementation
How should I choose a threshold?
add
How should I choose a threshold?
Omit it and the system default applies. For higher-risk workflows, raise the threshold to reduce false acceptance. For lower-friction flows, lower it. The right value depends on your tolerance for false positives vs false negatives. Start with the system default and tune based on observed match distributions.
API Testing Sandbox tag
Test the Likeness (Face Similarity) Check API directly in your browser with live mock data and see instant results.
rocket_launch Request Sandbox AccessAccess to live sandbox environments requires manual approval from our compliance team.