cURL
curl --request POST \ --url https://infopass.in/api/v1/in/identity/aadhaar/send/otp \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "aadhaarNumber": "597480250748" }'
{ "code": "0x0200", "message": "OTP send successful.", "status": "SUCCESS", "data": { "clientRefId": "aadhaar_v2_AibfrmHfYmxYdTlRVGNb", "taskId": "ADR2757412365101234D58", "udf1": "", "udf2": "" } }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
OK
The response is of type object.
object