Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://identity.contra.id/v1/face-match
Compare two faces and return a similarity score 0–100.
curl -X POST https://identity.contra.id/v1/face-match \ -H "x-api-key: $CONTRA_KEY" -H "Content-Type: application/json" \ -d '{ "image_a": "data:image/jpeg;base64,/9j/4AAQ…", "image_b": "data:image/jpeg;base64,/9j/4AAQ…" }'
{ "match_id": "match_aafb…", "score": 97.3, "decision": "match", "threshold": 70 }