> 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/singapore/sg-nric-pr-back/versions.md).

# Versions

## Version 1

<mark style="color:green;">`POST`</mark> `https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/sg-id-card-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 id card image in base64                                                                                            |
| idNumber                                             | string | Id card number as shown on id card. If this value is provided, higher chance of getting higher score for font checking. |

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

```javascript
{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "d6f9de42-a351-4ef7-b0a8-bff5197ce95a",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-sg-idb-tp",
                    "label": "Thumbprint",
                    "value": "46.884700655937195",
                    "imageUrl": "/public/image/v2/d6f9de42-a351-4ef7-b0a8-bff5197ce95a?type=l-sg-idb-tp",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-idb-barcode",
                    "label": "Barcode",
                    "value": "51.87006592750549",
                    "imageUrl": "/public/image/v2/d6f9de42-a351-4ef7-b0a8-bff5197ce95a?type=l-sg-idb-barcode",
                    "refImageUrl": null
                },
                {
                    "code": "l-sg-idb-logo",
                    "label": "Logo",
                    "value": "33.35488736629486",
                    "imageUrl": "/public/image/v2/d6f9de42-a351-4ef7-b0a8-bff5197ce95a?type=l-sg-idb-logo",
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": null
}
```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/wJ5234OiOG4zn85wxhYh" %}
OkayDoc ID Card Back
{% 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, and the optional `goal` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/supported-documents/singapore/sg-nric-pr-back/versions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
