> 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/other-apis/other-apis-all/fake-id-detection.md).

# Fake ID Detection

<mark style="color:green;">`POST`</mark> `http://okaydocdev.innov8tif.com/ekyc/api/v1/fakeid/detection`

#### Request Body

| Name                                          | Type    | Description                                 |
| --------------------------------------------- | ------- | ------------------------------------------- |
| base64                                        | boolean | Set True: A base64 string will be returned. |
| topNo                                         | number  | Number of record to be returned             |
| base64Image<mark style="color:red;">\*</mark> | string  | base64 string of input image                |
| apiKey<mark style="color:red;">\*</mark>      | string  | To be assigned by Innov8tif                 |

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

```
{
    "status": "success",
    "messageCode": null,
    "message": null,
    "results": [
        {
            "imageUrl": "/fakeid/image/sample240",
            "score": "0.7731073498725891",
            "base64String": "/9j/4ARg.............E4VKE16M//Z"
        },
        {
            "imageUrl": "/fakeid/image/sample288",
            "score": "0.7632227540016174",
            "base64String": "/9j/4AAQ............TdGSlvrc//Z"
        },
        {
            "imageUrl": "/fakeid/image/sample236",
            "score": "0.759501576423645",
            "base64String": "/9j/4AkZJRg..........Lmi09T//Z"
        }
    ]
}

```

{% endtab %}

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

#### Postman Collection

{% file src="/files/qwHeadKz7LzrpGbAJ5ap" %}
Fake ID Detection
{% 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/other-apis/other-apis-all/fake-id-detection.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.
