> 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/okaydoc/thailand/th-id-card/version-1.md).

# Version 1

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

#### Request Body

| Name               | Type   | Description                   |
| ------------------ | ------ | ----------------------------- |
| caseNo             | string | Reference code given by user  |
| apiKey             | string | To be assigned by Innov8tif   |
| idImageBase64Image | string | Front id card image in base64 |

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

```
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "d4320833-fee5-44cf-9729-1d75bf177863",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-th-id-logo",
                    "label": "Logo",
                    "value": "99.57505464553833",
                    "imageUrl": "/public/image/v2/xxxxxxx?type=l-th-id-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-no",
                    "label": "Identification Number",
                    "value": "99.39576387405396",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-id-no",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-card",
                    "label": "Thai National ID Card",
                    "value": "99.58637356758118",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-id-card",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-name",
                    "label": "Name",
                    "value": "99.47056174278259",
                    "imageUrl": "/public/image/v2/xxxxxxx?type=l-th-id-name",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-lastname",
                    "label": "Last Name",
                    "value": "99.35234785079956",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-id-lastname",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-dob",
                    "label": "Date Of Birth",
                    "value": "99.39907789230347",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-dob",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-issue-d",
                    "label": "Date Of Issue",
                    "value": "99.19782280921936",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-issue-d",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-sign",
                    "label": "Sign",
                    "value": "99.27135109901428",
                    "imageUrl": "/public/image/v2/xxxxxxx?type=l-th-id-sign",
                    "refImageUrl": null
                },
                {
                    "code": "l-th-id-exp-d",
                    "label": "Date Of Expiry",
                    "value": "99.12567138671875",
                    "imageUrl": "/public/image/v2/xxxxxxxx?type=l-th-id-exp-d",
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/xxxxxxx?type=cropId"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Input Example

{% code title="JSON" %}

```
{
    "apiKey": "apiKey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n" 
}
```

{% endcode %}

{% file src="/files/-LtxjUkop5KiBrNNHkmZ" %}
OkayDoc TH ID Front v1
{% endfile %}
