> For the complete documentation index, see [llms.txt](https://api-old.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-old.innov8tif.com/okayface/1-1-face-verification-v4.md).

# 1:1 Face Verification V4

## 1:1 Face Verification V4

<mark style="color:green;">`POST`</mark> `http://demo.faceid.asia/api/faceid/v4/verify`

#### Request Body

| Name         | Type   | Description                                             |
| ------------ | ------ | ------------------------------------------------------- |
| apiKey       | string | To be assigned by Innov8tif                             |
| imageIdCard  | string | Front id card image in base64                           |
| imageBest    | string | Image in base64 that's used to compare with imageIdCard |

{% tabs %}
{% tab title="200 " %}

```
{"request_id":"8fa0cdcf-5f50-4671-8db1-47145232d200","result_idcard":{"confidence":0.51890767}}
```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

```
{
	"apiKey": "apiKey",
	"imageIdCard": "",
	"imageBest": ""
}
```

{% endcode %}

{% file src="/files/-Lvj8QgW-0daPeK0kVtC" %}
OkayFace v4
{% endfile %}

### Recommended Threshold: 1.0

| Face Verification Status | Description                         |
| ------------------------ | ----------------------------------- |
| Pass                     | Confidence >= Recommended Threshold |
| Fail                     | Confidence < Recommended Threshold  |

###
