> 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-postal-id/versions.md).

# Versions

## Version 2&#x20;

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

#### 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": "bd0074fa-0451-4541-87da-1806fa6a4798",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-postal-logo",
                    "label": "Logo",
                    "value": "41.099999999999994",
                    "imageUrl": "/public/image/v2/bd0074fa-0451-4541-87da-1806fa6a4798?type=l-ph-postal-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-header",
                    "label": "Header",
                    "value": "0",
                    "imageUrl": "/public/image/v2/bd0074fa-0451-4541-87da-1806fa6a4798?type=l-ph-postal-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-philpost",
                    "label": "Philpost",
                    "value": "47.21",
                    "imageUrl": "/public/image/v2/bd0074fa-0451-4541-87da-1806fa6a4798?type=l-ph-postal-philpost",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": "Pass",
                    "imageUrl": "/public/image/v2/bd0074fa-0451-4541-87da-1806fa6a4798?type=hologram",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Pass",
                    "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/bd0074fa-0451-4541-87da-1806fa6a4798?type=cropId"
        }
    ]
}
```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Version 1

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

#### 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": "4535411b-f833-4d8d-872a-42b22890dc04",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-postal-logo",
                    "label": "Logo",
                    "value": "0",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-logo",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-header",
                    "label": "Header",
                    "value": "0",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-postal-philpost",
                    "label": "Philpost",
                    "value": "39.269999999999996",
                    "imageUrl": "/public/image/v2/4535411b-f833-4d8d-872a-42b22890dc04?type=l-ph-postal-philpost",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Pass",
                    "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/4535411b-f833-4d8d-872a-42b22890dc04?type=cropId"
        }
    ]
}
```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection&#x20;

{% file src="/files/XIjPL6bDqXtC6LSapoS2" %}
OkayDoc-PH-Postal ID v1
{% endfile %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/philippines/ph-postal-id/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.
