curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image1": "<string>",
"image2": "<string>"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough"
payload = {
"image1": "<string>",
"image2": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({image1: '<string>', image2: '<string>'})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image1' => '<string>',
'image2' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough"
payload := strings.NewReader("{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Biometrics Face Compare processed successfully",
"data": {
"similarityScore": 94.21
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "7b3e9c14-2a68-4d05-91f7-6c8d0b2e4a31",
"verificationType": "biometrics_face_compare",
"metadata": {
"customerReference": "CUST-10294"
},
"createdAt": "2026-09-14 04:12:37+0000"
}Biometrics Face Compare
Compare two face images and return a similarity score through the passthrough endpoint. This endpoint is commonly used to compare the potrait image from a personal identification document against a face image
curl --request POST \
--url https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image1": "<string>",
"image2": "<string>"
}
'import requests
url = "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough"
payload = {
"image1": "<string>",
"image2": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({image1: '<string>', image2: '<string>'})
};
fetch('https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'image1' => '<string>',
'image2' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough"
payload := strings.NewReader("{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{environment-subdomain}.idmetagroup.com/api/v3/verifications/biometrics-face-compare-passthrough")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"image1\": \"<string>\",\n \"image2\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Biometrics Face Compare processed successfully",
"data": {
"similarityScore": 94.21
},
"verificationStatus": "VERIFIED",
"verificationStatusCode": 3,
"transactionId": "7b3e9c14-2a68-4d05-91f7-6c8d0b2e4a31",
"verificationType": "biometrics_face_compare",
"metadata": {
"customerReference": "CUST-10294"
},
"createdAt": "2026-09-14 04:12:37+0000"
}Related endpoint
Face compare answers whether two faces belong to the same person. Biometrics Verification answers whether a single selfie shows a live person. A full remote-identity check usually calls both.Authorizations
Use your API token as a Bearer token in the Authorization header.
Headers
"Bearer {your_api_token}"
Body
Base64 data URI (for example data:image/jpeg;base64,...), or a multipart file upload when posting multipart/form-data. URLs are not accepted.
The face to compare against, in the same accepted formats as image1. URLs are not accepted.
Percentage (0–100). Similarity scores below this value are REJECTED
0 <= x <= 100Percentage (0–100). Similarity scores at or above this value are VERIFIED. When the similarity score is between minSimilarityScore and verifiedSimilarityScore, the outcome is REVIEW_NEEDED.
0 <= x <= 100Free-form correlation data, echoed back on the response.
Response
Comparison completed. Verified, review-needed, and rejected outcomes all use HTTP 200.
true
Show child attributes
Show child attributes
VERIFIED, REVIEW_NEEDED, REJECTED 3 = Verified, 2 = Review Needed, 1 = Rejected.
3, 2, 1 "biometrics_face_compare"
"2026-09-14 04:12:37+0000"

