> 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/okayid/okayid-all/ocr-api/sample-input.md).

# Sample Input

## Input Example Version 3

{% code title="Request Code Block" %}

```
{
    "base64ImageString": "/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "backImage":"/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "apiKey":"API_KEY",               
    "imageFormat":".jpg",
    "imageEnabled":true,
    "faceImageEnabled": true,
    "docTypeEnabled":true
}
```

{% endcode %}

{% hint style="info" %}
The "**docTypeEnabled**" parameter is to return the Document Type that is submitted through the OkayID.
{% endhint %}

## Input Example Version 2

{% code title="Request Code Block" %}

```
{
    "base64ImageString": "/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "backImage":"/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "apiKey":"API_KEY",               
    "imageFormat":".jpg",
    "imageEnabled":true,
    "faceImageEnabled": true
}
```

{% endcode %}

{% hint style="info" %}
The "**faceImageEnabled**" parameter is to return a cropped portrait face image from the Id Card.
{% endhint %}

## Input Example Version 1

{% code title="Request Code Block" %}

```
{
    "base64ImageString": "/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "backImage":"/9j/4AAQSkZJRgAB...wEwJefc\r\nf//Z\r\n",
    "apiKey":"API_KEY",               
    "imageFormat":".jpg",
    "imageEnabled":true
}
```

{% endcode %}

{% hint style="info" %}
The "**imageFormat**" parameter can leave it blank if the format of the image is unknown;

The "**imageEnabled**" parameter is to return a cropped photo of the ID card without background.
{% endhint %}
