Skip to main content
POST
/
v2
/
facematch
Compare faces in two files
curl --request POST \
  --url https://production.deepvue.tech/v2/facematch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form file_a='@example-file' \
  --form file_b='@example-file'
{
  "code": 200,
  "sub_code": "SUCCESS",
  "message": "Face match completed.",
  "transaction_id": "24d4cc25-d576-4bfd-ac6a-43c5f770248d",
  "data": {
    "match": true,
    "confidence": 98
  }
}

Authorizations

Authorization
string
header
required

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

x-api-key
string
header
required

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

Body

multipart/form-data
file_a
file
required
file_b
file
required

Response

Successful Response