---
title: Epic Number Search
slug: v2/epic-number-search
description: Learn how to use the Voter ID API to effortlessly retrieve frontside data by inputting the Voter ID number. This comprehensive document guides you through calling the API, offers handy input guidelines, and even provides a sample Curl command for easy imp
createdAt: 2022-09-19T07:28:09.000Z
---

# Introduction

This API is used to fetch frontside data of any Voter Id by using the Voter Id number as input.

## How to call the API

You will need to[ login](https://docs.signzy.com/sandboxapis) before sending search request. You are required to pass the access token received from the login call, as authorization header in the Voter ID search request along with Epic number.

## API Input Guidelines

- Need to give Voter Id as input.
- &#x20;State name is optional.

## Sample Curl

::::Tabs
:::Tab{title="Preproduction"}
```curl
curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/..patronId../voteridsearches' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.8' \
--header 'Authorization: <token>' \
--header 'content-type: application/json' \
--data-raw '{
    "essentials": {
        "epicNumber": "<Voter Id Number>",
        "state": "<state Name>"
    }
}'
```
:::

:::Tab{title="Production"}
```curl
curl --location --request POST 'https://signzy.tech/api/v2/patrons/..patronId../voteridsearches' \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.8' \
--header 'Authorization: <token>' \
--header 'content-type: application/json' \
--data-raw '{
    "essentials": {
        "epicNumber": "<Voter Id Number>",
        "state": "<state name>"
    }
}'
```
:::
::::

### Input Parameters

| **Parameter Name&#x20;** | **Required/Optional** | **Description**                                        |
| ------------------------ | --------------------- | ------------------------------------------------------ |
| Authorization            | Required              | Contains the id parameter returned from the login step |
| content-type             | Required              | application/json                                       |
| essentials               | Required              | contains the input data                                |
| essentials.epicNumber    | Required              | Put Epic Number as input                               |
| essentials.state         | Required              | Put State name as input                                |

### Sample Response

```json
{
    "essentials": {
        "epicNumber": " ",
        "state": "haryana"
    },
    "id": " ",
    "patronId": " ",
    "result": {
        "name": " ",
        "dob": "NA",
        "district": "FARIDABAD",
        "state": "HARYANA",
        "fatherName": " ",
        "gender": "Female"
    }
}
```

### Response Parameter

| **Parameter Name**    | **Description**                               |
| --------------------- | --------------------------------------------- |
| essentials            | contains the input data                       |
| essentials.epicNumber | Contains Epic Number of Voter Id              |
| essentials.state      | Contains state name                           |
| id                    | Contains unique Id                            |
| patronId              | Contains patronId                             |
| result.name           | Contains name of the identity holder          |
| result.dob            | Contains date of birth of the identity holder |
| result.district       | Contains district name                        |
| result.state          | Contains state name                           |
| result.fatherName     | Contains father's name of the identity holder |
| result.gender         | Contains gender Info of the identity holder   |

***



:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](mailto\:help@signzy.com).
:::
