# Versions

## Version 2

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v2/doc-verify/ektp-back`

#### Request Body

| Name                                                 | Type   | Description                  |
| ---------------------------------------------------- | ------ | ---------------------------- |
| caseNo                                               | string | Reference code given by user |
| apiKey<mark style="color:red;">\*</mark>             | string | To be assigned by Innov8tif  |
| idImageBase64Image<mark style="color:red;">\*</mark> | string | Back e-KTP image in base64   |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "1da91014-f91c-4a70-b135-c90697368e78",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ektp-back-eagle",
                    "label": "Eagle Logo",
                    "value": "99.13004040718079",
                    "imageUrl": "/public/image/v2/1da91014-f91c-4a70-b135-c90697368e78?type=l-ektp-back-eagle",
                    "refImageUrl": null
                },
                {
                    "code": "l-ektp-back-header",
                    "label": "Header",
                    "value": "99.2683470249176",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-ektp-back-map",
                    "label": "Map",
                    "value": "96.98640704154968",
                    "imageUrl": "/public/image/v2/1da91014-f91c-4a70-b135-c90697368e78?type=l-ektp-back-map",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": "Pass",
                    "imageUrl": "/public/image/v2/1da91014-f91c-4a70-b135-c90697368e78?type=hologram",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "blurrinessDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "blurrinessDetection",
                    "label": "ID Blur Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "brightnessDetection",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "brightnessDetection",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorDetection",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorDetection",
                    "label": "Color Mode",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/1da91014-f91c-4a70-b135-c90697368e78?type=cropId"
        }
    ]
}
```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/p2m1gblx65G2WwUWUudB" %}
OkayDoc e-KTP Back v2
{% endfile %}

## Version 1

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/ektp-back`

#### Request Body

| Name                                                 | Type   | Description                  |
| ---------------------------------------------------- | ------ | ---------------------------- |
| caseNo                                               | string | Reference code given by user |
| apiKey<mark style="color:red;">\*</mark>             | string | To be assigned by Innov8tif  |
| idImageBase64Image<mark style="color:red;">\*</mark> | string | Back e-KTP image in base64   |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "c2de0dd2-ca66-414e-ba9d-fb0dd60fc91b",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ektp-back-eagle",
                    "label": "Eagle Logo",
                    "value": "99.13004040718079",
                    "imageUrl": "/public/image/v2/xxxxxxxxx?type=l-ektp-back-eagle",
                    "refImageUrl": null
                },
                {
                    "code": "l-ektp-back-header",
                    "label": "Header",
                    "value": "99.2683470249176",
                    "imageUrl": null,
                    "refImageUrl": null
                },
                {
                    "code": "l-ektp-back-map",
                    "label": "Map",
                    "value": "96.98640704154968",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxx?type=l-ektp-back-map",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": " Hologram Visible",
                    "imageUrl": "/public/image/v2/xxxxxxxxxxx?type=hologram",
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/xxxxxxx?type=cropId"
        }    }
```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/dTjuweE6zNbP50QBZykz" %}
OkayDoc e-KTP Back
{% endfile %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/supported-documents/indonesia/idn-e-ktp-back/versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
