---
title: PAN Aadhaar Link Status API
slug: v2-apis/pan-aadhaar-link-status-api
description: Learn how to link PAN cards with Aadhaar and check their status using the API with this comprehensive guide. Discover the step-by-step process, essential input parameters, and get code examples for the Identity and Snoop APIs. Additionally, find valuable 
createdAt: 2022-09-22T21:15:03.000Z
---

## Introduction

Linking your PAN card with Aadhaar has been made mandatory for certain services, such as filing your income tax returns. As per a recent notification from the government, the last date to link PAN with Aadhaar is 31 March 2023. Earlier, the last date was 31 March 2022.

## How to call the API

Before fetching the PAN Aadhaar link status you first need to create an Identity object.&#x20;

## API Input Guidelines

- PAN Number&#x20;
- Aadhaar Number

## Step 1: Hit Identities API

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/<Patron ID>/identities",
  "name": "Identity Request",
  "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": "type",
        "type": "string",
        "children": [],
        "description": "type of document - PAN"
      },
      {
        "kind": "required",
        "name": "email",
        "type": "string",
        "children": [],
        "description": "mail Id "
      },
      {
        "kind": "required",
        "name": "callbackUrl",
        "type": "string",
        "children": [],
        "description": "URL where response will be posted"
      },
      {
        "kind": "required",
        "name": "images",
        "type": "Array",
        "children": [],
        "description": "URL of the image to be masked"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "b8A71Ch8FpbUHqoxk__1W",
        "code": "{\n    \"type\": \"individualPan\",\n    \"email\": \"ankur.rand@signzy.com\",\n    \"callbackUrl\": \"https://www.w3schools.com\",\n    \"images\": [],\n    \"accessToken\": \"<Access Token>\",\n    \"autoRecognition\": [],\n    \"verification\": [],\n    \"forgeryCheck\": [],\n    \"id\": \"<ID>\",\n    \"patronId\": \"<Patron ID>\"\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "b8A71Ch8FpbUHqoxk__1W"
  },
  "examples": {
    "languages": [
      {
        "id": "kfRv8Bc-HCVeTxcsuYGnt",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/<Patron ID>/identities' \\\n--header 'Authorization: <Auth Key>' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"type\": \"individualPan\",\n    \"email\": \"<email Id\",\n    \"callbackUrl\": \"https://www.w3schools.com\",\n    \"images\": [images Url]\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "pg4kbtPaakrseSvnzoMiQ",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/<Patron ID>/identities' \\\r\n--header 'Authorization: <Auth Key>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"type\": \"individualPan\",\r\n    \"email\": \"<email Id>\",\r\n    \"callbackUrl\": \"https://www.w3schools.com\",\r\n    \"images\": [<images Url>]\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "kfRv8Bc-HCVeTxcsuYGnt"
  },
  "description": "Creating Identity card object",
  "currentNewParameter": {
    "label": "Form Parameter",
    "value": "formDataParameters"
  }
}
```
:::

### Identity Response Parameters

| **Parameters Name** | **Data Type** | **Description**                                                   |
| ------------------- | ------------- | ----------------------------------------------------------------- |
| type                | String        | type of document                                                  |
| email               | String        | mail Id of person                                                 |
| callbackUrl         | String        | URL where response will be posted                                 |
| images              | Array         | It is the url of images                                           |
| accessToken         | String        | Contains the access token that was received from identity request |
| autoRecognition     | String        | autorecognition                                                   |
| verification        | String        | It verifies                                                       |
| forgeryCheck        | String        | It checks for forgery occurances                                  |
| id                  | String        | Contains the Identity object id                                   |
| patronId            | String        | Unique user ID                                                    |



## Step 2: Hit Snoops API and receives a response

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/snoops",
  "name": "Snoop request",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Content-Type",
        "type": "string",
        "children": [],
        "description": "application/json"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "service",
        "type": "string",
        "description": "Type-Identity"
      },
      {
        "kind": "required",
        "name": "itemId",
        "type": "string",
        "children": [],
        "description": "Contains the Identity object id"
      },
      {
        "kind": "required",
        "name": "accessToken",
        "type": "string",
        "children": [],
        "description": "Access token for the identity object"
      },
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "children": [],
        "description": "verifyAadhaar - To Verify Aadhaar number whether valid or not "
      },
      {
        "kind": "required",
        "name": "Essentials.name",
        "type": "String",
        "children": [],
        "description": "name of holder"
      },
      {
        "kind": "required",
        "name": "Essentials.number",
        "type": "string",
        "children": [],
        "description": "PAN Number of individual"
      },
      {
        "kind": "required",
        "name": "Essentials.uid",
        "type": "string",
        "children": [],
        "description": "Aadhaar number of individual"
      },
      {
        "kind": "required",
        "name": "Essentials.fuzzy",
        "type": "Boolean",
        "children": [],
        "description": "is a technique that helps identify two elements of text, strings, or entries that are approximately similar but are not exactly the same."
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "lUplEMmSwiael_lnPl95r",
        "code": "{\n    \"service\": \"Identity\",\n    \"itemId\": \"<Item ID>\",\n    \"task\": \"verifyAadhaar\",\n    \"essentials\": {\n        \"uid\": \"<Aadhaar number>\"\n    },\n    \"accessToken\": \"<Access Token>\",\n    \"id\": \"<ID>\",\n    \"response\": {\n        \"url\": {},\n        \"id\": \"<Id>\",\n        \"result\": {\n            \"verified\": \"true\",\n            \"ageBand\": \"20-30\",\n            \"state\": \"<State>\",\n            \"mobileNumber\": \"<Mobile No.>\",\n            \"gender\": \"MALE\"\n        },\n        \"instance\": {}\n    }\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "lUplEMmSwiael_lnPl95r"
  },
  "examples": {
    "languages": [
      {
        "id": "Ox-uOf5XVL4JRvPiB1ue6",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/snoops' \\\n--header 'Content-Type: application/json;charset=UTF-8' \\\n--data-raw '{\n    \"service\": \"Identity\",\n    \"itemId\": \"<Item ID>\",\n    \"accessToken\": \"<Access Token>\",\n    \"task\": \"panAadhaarLinkStatus\",\n    \"essentials\": {\n        \"name\": \"\",\n        \"number\": \"<PAN Number>\",\n        \"uid\": \"<Aadhaar Number>\",\n        \"fuzzy\": \"true/false\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "Y_TK15_2ErjFNR3-9bg1k",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/snoops' \\\r\n--header 'Content-Type: application/json;charset=UTF-8' \\\r\n--data-raw '{\r\n    \"service\": \"Identity\",\r\n    \"itemId\": \"<Item ID>\",\r\n    \"accessToken\": \"<Access Token>\",\r\n    \"task\": \"panAadhaarLinkStatus\",\r\n    \"essentials\": {\r\n        \"name\": \"\",\r\n        \"number\": \"<PAN Number>\",\r\n        \"uid\": \"<Aadhaar Number>\",\r\n        \"fuzzy\": \"true/false\"\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "Ox-uOf5XVL4JRvPiB1ue6"
  },
  "description": "Performing autoRecognition & verification",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  }
}
```
:::

### Response Parameters

| **Parameters Name**          | **Data Type** | **Description**                                                                                 |
| ---------------------------- | ------------- | ----------------------------------------------------------------------------------------------- |
| accessToken                  | String        | Contains the access token that was received from identity request                               |
| id                           | String        | Contains the patron Id of the snoop request                                                     |
| response.id                  | String        |                                                                                                 |
| response.result.verified     | Boolean       | This returns whether the request aadhaar and PAN is linked or not, if linked then true or false |
| response.result.ageBand      | String        | For ex. 20-30 denotes that age of the request aadhaar holder is in between that band            |
| response.result.state        | String        | State of the Aadhaar holder                                                                     |
| response.result.mobileNumber |               | Mobile number of the Aadhaar holder                                                             |
| response.result.gender       | String        | Gender of the Aadhaar 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](#).
:::

