---
title: Aadhaar Mobile link Status
slug: api-marketplace/aadhaar-mobile-link-status
description: Learn how the Aadhaar Verification API simplifies customer onboarding and identity verification processes. Validate Aadhaar numbers, access demographic information, and ensure data security and privacy. Integrate this API into your systems across various 
createdAt: 2023-04-19T11:39:21.000Z
---

### Introduction

The Aadhaar-Mobile Link Verification API is a secure and efficient tool that allows organizations to verify whether a given Aadhaar number is linked to a specified mobile phone number. By inputting the Aadhaar number and the mobile number, the API returns a confirmation of the linkage status, aiding in seamless identity verification and enhancing security measures across various services.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```text
POST https://api.signzy.app/api/v3/aadhaar/mobileLinkStatus
```
:::

:::CodeblockTabs
UAT Endpoint

```text
POST https://api-preproduction.signzy.app/api/v3/aadhaar/mobileLinkStatus
```
:::

***

### Request body parameters

| **Parameter** | **Data Type** | **Description**                                    | **Required** |
| ------------- | ------------- | -------------------------------------------------- | ------------ |
| aadhaarNo     | String        | Aadhaar number                                     | Mandatory    |
| mobileNo      | String        | Mobile number linked with the given aadhaar number | Mandatory    |

```json
{
    "aadhaarNo": "<aadhaar number>",
    "mobileNo": "<mobile number>"
}
```

***

### Request Headers

| **Name&#x20;** | **Value**        | **Required** | **Description**                                                                                            |
| -------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-type   | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization  | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Code Samples

:::CodeblockTabs
Curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/aadhaar/mobileLinkStatus' \
--header 'Authorization: <Auth token>' \
--header 'Content-Type: application/json' \
--data '{
    "aadhaarNo": "123456789100",
    "mobileNo": "9999911111"
}'
```

Node.js

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "aadhaarNo": "123456789100",
  "mobileNo": "9999911111"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/aadhaar/mobileLinkStatus',
  headers: { 
    'Authorization': '<Auth token>', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

Python

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/aadhaar/mobileLinkStatus"

payload = json.dumps({
  "aadhaarNo": "123456789100",
  "mobileNo": "9999911111"
})
headers = {
  'Authorization': '<Auth token>',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

GO

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/aadhaar/mobileLinkStatus"
  method := "POST"

  payload := strings.NewReader(`{
    "aadhaarNo": "123456789100",
    "mobileNo": "9999911111"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Authorization", "<Auth token>")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**           | **Data Type** | **Description**                                                       |
| ----------------------- | ------------- | --------------------------------------------------------------------- |
| result                  | Object        | Contains the response for the input Aadhaar number and mobile number. |
| result.isMobileVerified | String        | Indicates whether linked or not. Possible values are true or false.   |

:::CodeblockTabs
200

```json
{
    "result": {
        "isMobileVerified": false
    }
}
```

400

```json
// Mobile number is invalid
{
    "error": {
        "name": "error",
        "message": "Invalid Mobile number",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// Aadhaar number is invalid
{
    "error": {
        "name": "error",
        "message": "Invalid Aadhaar number",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// If Authorization token is not passed
{
    "message": "No API key found in request"
}

// If Authorization token is invalid
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
