Skip to main content
POST
/
service
/
facecompare
Perform Face Compare
curl --request POST \
  --url https://d1.cynopsis.co/service/facecompare \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Domain-Id: <x-domain-id>' \
  --form file0=@example-file \
  --form file1=@example-file
{
  "task_id": "cde65789-3a79-43e9-b774-e6d9a1880250",
  "status": "MATCHED",
  "status_task": "SUCCESS",
  "result": {
    "simiarity": 0.9,
    "matched": true,
    "error": ""
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Domain-Id
string
required

Domain ID

Body

multipart/form-data
file0
file
required

Selfie image file

file1
file
required

Document image file

Response

Face Compare Result

task_id
string
Example:

"cde65789-3a79-43e9-b774-e6d9a1880250"

status
string
Example:

"MATCHED"

status_task
string
Example:

"SUCCESS"

result
object