FaceFace Match

Face Match API — Compare Two Face Images

Compare two face images and get a confidence score. Ideal for matching selfies against ID documents during KYC onboarding.

curl -X POST "https://production.deepvue.tech/v1/facematch" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "x-api-key: YOUR_API_KEY" \
  --form file_a=example_string \
  --form file_b=example_string
{
  "code": null,
  "timestamp": 1710444590759,
  "transaction_id": "string",
  "sub_code": "SUCCESS",
  "message": "string",
  "data": {
    "match": true,
    "confidence": null
  }
}
POST
/v1/facematch
POST
Bearer Token (JWT)
Bearer Tokenstring
Required

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .
API Key (header: x-api-key)
x-api-keystring
Required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
file_astring
Required
Format: binary
file_bstring
Required
Format: binary
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). ACCESS_TOKEN generated from the authorize endpoint. Should be included in the header as Bearer .

header
x-api-keystring
Required

API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

Responses

codeinteger
timestampinteger
transaction_idstring
sub_codestring
messagestring
dataobject

Overview

The Deepvue Face Match API lets you compare faces present in two different documents within seconds. You can submit two image files as input — either identification cards from two separate individuals, or a single ID document paired with a selfie photograph.

The system performs AI-driven facial analysis and delivers results indicating whether the faces match, along with a corresponding confidence metric reflecting the reliability of that determination.

The API accepts only .jpeg, .jpg, and .png file formats.