Aadhaar OTP

KYC Verification API

Generates OTP on registered mobile number linked with the Aadhaar card.

Request URL
POST
https://ekyc.nerotix.in/api/v1/service/aadhaar/otp/generate
Authentication Required REQUIRED

Pass a valid Bearer Token in the Authorization header with every request.

Authorization: Bearer YOUR_BEARER_TOKEN
Parameters
Name Type Description
aadhaarNumber required numeric 12 Digit Aadhaar Card Number
Request Body
application/json
{
    "aadhaarNumber": "123456789012"
}
Response Examples

API Response

Sample responses returned by the Aadhaar Card Verification API.

Successful Response

Success
Generated OTP Successfully
HTTP 200 OK
application/json
{
    "success": true,
    "statusCode": 1,
    "message": "OTP Sent Successfully",
    "data": {
        "ref_id": "15665553"
    }
}

Invalid Response

Invalid
Aadhaar Card is Invalid
HTTP 200 OK
application/json
[]
Note Please keep the following points in mind while integrating this API.
  • The API endpoint should be accessed via a POST request.
  • Ensure that the request is properly validated and sanitized to prevent security vulnerabilities.
  • Implement proper error handling on the client side to display user-friendly error messages based on the 'statusCode' and 'message' fields in the response.
  • Always include a valid Bearer Token in the Authorization header when making API requests.