Skip to main content
POST
/
v1
/
face-match
Face Match
curl --request POST \
  --url https://identity.contra.id/v1/face-match

Request

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…"
  }'

Response · 200

{
  "match_id": "match_aafb…",
  "score":    97.3,
  "decision": "match",
  "threshold": 70
}
Combine with ID Verification for selfie-to-document binding.