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": ""
}
}Perform face comparison between two images. Requires Bearer token and domain ID. Use the following URLs depending on your environment:
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": ""
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Domain ID