> 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/philippines/ph-voter-id/versions.md).

# Versions

## Version 1

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

#### 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 | Front prc id card image in base64 |

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

```javascript
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "51a6f1c2-b94a-453b-8a66-2e58f318c63b",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-voter-republic-log",
                    "label": "Republic Logo",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-republic-log",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-republic-header",
                    "label": "Republic Header",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-republic-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-info1",
                    "label": "Personal Info 1",
                    "value": "18.75",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-info1",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-voter-info2",
                    "label": "Personal Info 2",
                    "value": "0",
                    "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?type=l-ph-voter-info2",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Cautious",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Fail",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "screen",
            "label": "Screen Detection",
            "componentList": [
                {
                    "code": "screen",
                    "label": "Screen Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/51a6f1c2-b94a-453b-8a66-2e58f318c63b?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/TVFICEJHX7SSJjWPWpJI" %}
OkayDoc PH Voter&#x20;
{% endfile %}
