API Documentation Hidden API


Aadhar Detail Verification by OTP - Send OTP API - Hidden API


GET/POST : aadhar/ekyc_otp

What is needed to use this API and how it will work is described below -
Your Api Key : Get API In Profile & eKYC

Input Parameters Detail
Name Type Description Mandatory
apikeystringEnter Your API KeyYes
aadharnumberEnter Your Aadhaar NOYes
hitstringEnter otpYes







Success Output Parameters Detail
Name Type Description
statusstringsuccess
messagestringOTP sent to your aadhar link mobile.
txnstring1744506537665:901629







Failed Output Parameters Detail
Name Type Description
statusstring
messagestringPlease enter valid Aadhaar Number






Call API URL
https://hiddenapi.in/serviceapi/aadhar/ekyc_otp
API Call Request Parameters
apikey=value&aadhar=value&hit=value
API Call Example Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://hiddenapi.in/serviceapi/aadhar/ekyc_otp?apikey=value&aadhar=value&hit=value',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
 
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>
API Hit Success Example Response
{
    "status": "success",
    "message": "OTP sent to your aadhar link mobile.",
    "txn": "1744506537665:901629"
}
API Hit Failure Example Response
{
    "status": false,
    "message": "Please enter valid Aadhaar Number"
}