The hosted face match on two images you send. MATCH when the score reaches threshold (default 0.50; 0.50–0.75). CHF 0.30 per answered call, including NO_FACE answers; refunded when it could not run. Needs the face:match scope. Images are not stored.

Send your API key in the x-api-key header.

Headers

  • Idempotency-Keystring8–200 chars

    Reuse on retries (printable non-space ASCII). For 24 hours the same key and the same request return the saved answer and check id without a second charge; a different request under the key returns 409.

Request bodyapplication/jsonrequired

  • thresholdnumber0.5–0.75default 0.5
  • reference_idstring≤ 128 chars

    Your own id, echoed in the answer.

  • sandbox_outcomestring

    Sandbox keys only: which test answer to return. No model runs and nothing is charged.

    One ofmatchno_matchno_face

  • selfiestringrequired

    JPEG, PNG or WebP, at most 10 MB.

  • referencestringrequired

    The trusted portrait (document photo or chip image).

Responses

  • 200The answer.
    • check_idstringuuid
    • productstring
    • environmentstring | null
    • sandboxboolean
    • checked_atstringdate-time
    • reference_idstring
    • signed_resultstring

      The same answer as an ES256 JWS, verifiable with /.well-known/jwks.json.

    • decisionstring

      One ofMATCHNO_MATCHNO_FACE_IN_SELFIENO_FACE_IN_REFERENCE

    • matchboolean
    • scorenumber | null

      Similarity score, about 0 for different people.

    • thresholdnumber
  • 400Invalid input.
  • 401Missing, unknown or expired API key.
  • 402The balance does not cover the check.
  • 403The key lacks the product's scope, its IP allowlist refuses the caller, or (code production_not_allowed) the organization may not use production yet.
  • 409The Idempotency-Key is in progress (Retry-After: 1) or was used with a different request.
  • 413A file or the body is too large.
  • 415A file is not of an accepted type (checked by its bytes, not its name), or the body is neither multipart nor JSON.
  • 422An image could not be decoded. Not charged.
  • 429More than 120 calls in a minute for this product.
  • 503The check could not run on our side. Nothing was charged; retry later with the same Idempotency-Key.
curl -X POST https://api-verify.secuveri.com/v1/face/match \
  -H "x-api-key: $SECUVERI_API_KEY" \
  -H "content-type: application/json" \
  -H "Idempotency-Key: signup-1042-retry-safe" \
  -d '{
  "selfie": "<selfie>",
  "reference": "customer-1042"
}'
Response · 200
{
  "check_id": "6f1c2e0a-8f43-4f7e-9a51-2b7c1d9e4a10",
  "product": "<product>",
  "environment": "<environment>",
  "sandbox": true,
  "checked_at": "2026-10-23T09:12:44.120Z",
  "reference_id": "<reference id>",
  "signed_result": "eyJhbGciOiJFUzI1NiIsImtpZCI6Ii4uLiJ9.…",
  "decision": "MATCH",
  "match": true,
  "score": 0.92,
  "threshold": 1
}