---
title: Verification API
slug: v2-apis/DdtN-verification-api
description: Learn how to use Signzy's API to verify an individual's voter ID details. This document provides code examples for making a POST request and includes a sample response with essential parameters like voter ID number, name, state, and more. Find information
createdAt: 2022-09-19T07:28:09.000Z
---

# Introduction

This API from signzy i used to verify any Individual's Voter Id details by putting epicNumber, name and state as input.

## How to call the API

Before going for Auto reading calls, you first need to create an Identity object. Need to pass accessToken and itemid obtained from identity call along with other input parameters

## API Input Guidelines

Need to put epicNumber, Name and state as input

## Sample Curl

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/voterIdV2",
  "name": "Voter Id Verification",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "String",
        "children": [],
        "description": "Contains the Id parameter returned from the login step"
      },
      {
        "kind": "required",
        "name": "content-type",
        "type": "String",
        "children": [],
        "description": "Application/JSON"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "description": "task-extracting voter Id data"
      },
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "epicNumber",
            "type": "string",
            "description": "Contains epic number of the voter Id"
          },
          {
            "kind": "optional",
            "name": "name",
            "type": "string",
            "description": "Contains name of the Voter Id holder"
          },
          {
            "kind": "optional",
            "name": "state",
            "type": "string",
            "description": "Contains state name"
          }
        ],
        "description": "essential part of the request"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "jvHWi5VrNtYUQ7DNHI-AO",
        "code": "{\n    \"essentials\": {\n        \"epicNumber\": \"..<epic number>..\",\n        \"name\": \"\",\n        \"state\": \"..<state>..\"\n    },\n    \"id\": \"...<token>..\",\n    \"patronId\": \"..<patron id>..\",\n    \"task\": \"verification\",\n    \"result\": {\n        \"verification\": true,\n        \"message\": \"Verification completed with positive result\"\n    }\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "jvHWi5VrNtYUQ7DNHI-AO"
  },
  "examples": {
    "languages": [
      {
        "id": "eRowzN5Hpb0kZx9XXRlIH",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/voterIdV2' \\\n--header 'Authorization: <token>' \\\n--header 'content-type: application/json' \\\n--data-raw '{\n    \"task\": \"verification\",\n    \"essentials\": {\n        \"epicNumber\": \"<Voter Id Number>\",\n        \"name\": \"<Name of the person>\",\n        \"state\": \"<state name>\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "eS4QRrfGkJA1VNDG67JFd",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/voterIdV2' \\\r\n--header 'Authorization: <token>' \\\r\n--header 'content-type: application/json' \\\r\n--data-raw '{\r\n    \"task\": \"verification\",\r\n    \"essentials\": {\r\n        \"epicNumber\": \"<Voter Id Number>\",\r\n        \"name\": \"<Name of the person>\",\r\n        \"state\": \"<state name>\"\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "eS4QRrfGkJA1VNDG67JFd"
  },
  "description": "Verifies voter Id details",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::

### Response Parameter

| ***Parameter Name&#x20;*** | **Description**                            |
| -------------------------- | ------------------------------------------ |
| essentials                 | Contains essential output data             |
| essentials.epicNumber      | Contains Voter Id Number                   |
| essentials.name            | Name of the Voter Id holder                |
| essentials.state           | State name of the Voter Id holder          |
| id                         | Contains unique Id                         |
| patronId                   | Contains patronId                          |
| task                       | The task being performed. i.e Verification |
| result                     | Contains verification and message          |
| result.verification        | It gives verification as true or false     |
| result.message             | Contains message of result                 |

***



:::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).
:::

