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

# Versions

## Version 1

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

#### Request Body

| Name                                     | Type   | Description                       |
| ---------------------------------------- | ------ | --------------------------------- |
| apiKey<mark style="color:red;">\*</mark> | String | Provided by Innov8tif Solutions   |
| idImageBase64Image                       | String | National ID Card in base64 format |

{% tabs %}
{% tab title="200: OK Successfully Response" %}

```javascript
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "084e1e7f-8a5f-4146-87a4-8525027634af",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-ph-ni-logo1",
                    "label": "Logo 1 Landmark",
                    "value": "93.5",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-logo1",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-header",
                    "label": "Header Landmark",
                    "value": "91.97",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-header",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-logo2",
                    "label": "Logo 2 Landmark",
                    "value": "94.54",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-logo2",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-lastname",
                    "label": "Last Name Landmark",
                    "value": "87.45",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-lastname",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-givenname",
                    "label": "Given Name Landmark",
                    "value": "88.03",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-givenname",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-midname",
                    "label": "Middle Name Landmark",
                    "value": "0",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-midname",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-dob",
                    "label": "DOB Landmark",
                    "value": "88.75",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-dob",
                    "refImageUrl": null
                },
                {
                    "code": "l-ph-ni-logo3",
                    "label": "Logo 3 Landmark",
                    "value": "91.28",
                    "imageUrl": "/public/image/v2/084e1e7f-8a5f-4146-87a4-8525027634af?type=l-ph-ni-logo3",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "hologram",
            "label": "Hologram",
            "componentList": [
                {
                    "code": "hologram",
                    "label": "Hologram",
                    "value": "Pass",
                    "imageUrl": null,
                    "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/084e1e7f-8a5f-4146-87a4-8525027634af?type=cropId" 
        }
    ]
}
```

{% endtab %}

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

```javascript
{
    status: "error"
}
```

{% endtab %}
{% endtabs %}
