> 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/okaydoc/okaydoc-all/supported-documents/indonesia/idn-e-ktp-back/versions.md).

# 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 %}
