> 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/okayid-lite/okayid-lite-all/supported-countries/indonesia/versions.md).

# Versions

## Version 1

## eKTP

<mark style="color:green;">`POST`</mark> `https://okayiddemo.innov8tif.com/okayid/api/innov-ocr/v1`

#### Request Body

| Name                                          | Type   | Description                                                                                       |
| --------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------- |
| apiKey<mark style="color:red;">\*</mark>      | string | To be assigned by Innov8tif                                                                       |
| imageBase64<mark style="color:red;">\*</mark> | string | Image in base64 encoded string                                                                    |
| imageFile                                     | object | <p>Image file.<br>(If both imageBase64 and imageFile are provided, imageBase64 will be used.)</p> |
| docType                                       | string | <p>Document type:<br>indonesia\_ektp<br>            <br>      </p>                                |

{% tabs %}
{% tab title="200 " %}
{% code title="Response Code Block" %}

```
{
    "status": "success",
    "listFieldMaps": [
        {
            "fieldType": "address",
            "fieldValue": " JL. KR. JOHAR BARU UTARA E-2/2 "
        },
        {
            "fieldType": "dob",
            "fieldValue": "  JAKARTA 11-10 1981"
        },
        {
            "fieldType": "name",
            "fieldValue": " ENDAH IRAWAN"
        },
        {
            "fieldType": "id",
            "fieldValue": " xxxxxxxxxxxxxxxx"
        }
    ]
}
```

{% endcode %}
{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/PAQEjg9CXFBLNxaQN93V" %}
