> For the complete documentation index, see [llms.txt](https://api2-ekycapis.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/supported-countries/indonesia/e-ktp-check/versions.md).

# Versions

## Version 1

<mark style="color:green;">`POST`</mark> `https://okaydbdemo.innov8tif.com/ekyc/okaydb/api/idn/v1`

#### Request Body

| Name                                             | Type   | Description                                                           |
| ------------------------------------------------ | ------ | --------------------------------------------------------------------- |
| selfie\_photo <mark style="color:red;">\*</mark> | string | Selfie photo in base64 string                                         |
| birthplace<mark style="color:red;">\*</mark>     | string | Birthplace as shown on ID card. Used for birthplace matching          |
| birthdate<mark style="color:red;">\*</mark>      | string | <p>Birthdate as shown on ID card.<br>Used for birthdate matching.</p> |
| name<mark style="color:red;">\*</mark>           | string | Name as shown on ID card. Used for name matching.                     |
| nik<mark style="color:red;">\*</mark>            | string | NIK number                                                            |
| apiKey<mark style="color:red;">\*</mark>         | string | To be assigned by Innov8tif                                           |

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

```
{
    "status": "success",
    "nameMatch": true,
    "birthdateMatch": true,
    "birthplaceMatch": true,
    "address": "JL.S*K*L*H D*T* *** / 25",
    "faceDetected": 0.0
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/Q1vZxzTuH6QwyLkC90Jx" %}
OkayDB e-KTP
{% endfile %}
