V2Generate OTP

Aadhaar eKYC V2 — Send OTP

Send an OTP for Aadhaar verification — no captcha required. Just provide the Aadhaar number to trigger the OTP to the linked mobile.

curl -X POST "https://production.deepvue.tech/v2/ekyc/aadhaar/generate-otp?aadhaar_number=example_string&consent=example_string&purpose=example_string" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "client-id: YOUR_API_KEY"
{
  "code": 200,
  "timestamp": 1738332826135,
  "transaction_id": "12815fb81c084fb7a35eedc0ef1c5a84",
  "sub_code": "SUCCESS",
  "message": "OTP sent to your Registered Mobile number. Check your mobile.",
  "reference_id": "29756208"
}
POST
/v2/ekyc/aadhaar/generate-otp
POST
API Key (header: x-api-key)
x-api-keystring
Required

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.
API Key (header: client-id)
client-idstring
Required

The CLIENT_ID provided to you. This header parameter is required for authentication purposes.

The CLIENT_ID provided to you. This header parameter is required for authentication purposes.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
x-api-keystring
Required

API Key for authentication. The CLIENT_SECRET provided to you. This header parameter is required for authentication purposes.

header
client-idstring
Required

API Key for authentication. The CLIENT_ID provided to you. This header parameter is required for authentication purposes.

Query Parameters

Responses

codeinteger
timestampinteger
transaction_idstring
sub_codestring
messagestring
reference_idstring

OTP generation requests for the same Aadhaar within a certain timeframe may trigger a conflict response. The system validates Aadhaar format and mobile linking status before processing. UIDAI service unavailability may cause temporary failures.

Per UIDAI regulations, service providers cannot share, publish, or display Aadhaar numbers, share codes, or XML contents with third parties. Non-compliance invites penalties under the Aadhaar Act and related regulations. You must store customer consent documentation before proceeding with verification.