---
title: "Verify whether two faces belong to a same person."
method: POST
path: "/verify"
---

# Verify whether two faces belong to a same person.

`POST /verify`

> [!NOTE]
>
> *
>   * Higher face image quality means better identification precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger.
>   * For the scenarios that are sensitive to accuracy please make your own judgment.
>   * The 'recognitionModel' associated with the both faces should be the same.

## Request body

- object
  - `faceId1` string, uuid, required — Universally Unique Identifier
  - `faceId2` string, uuid, required — Universally Unique Identifier

## Response `200`

A successful call returns the verification result.

- VerificationResult — Verify result.
  - `isIdentical` boolean, required — True if the two faces belong to the same person or the face belongs to the person, otherwise false.
  - `confidence` number, float, required — A number indicates the similarity confidence of whether two faces belong to the same person, or whether the face belongs to the person. By default, isIdentical is set to True if similarity confidence is greater than or equal to 0.5. This is useful for advanced users to override 'isIdentical' and fine-tune the result on their own data.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-face.md) · [All operations](https://skmtc.net/azure/apis/ai-face/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-face/versions/e9a68c525be6/schema)
