Need user JWT token while hitting api confirm with aadhar otp

As we know there are two auth methods one Is confirm with mobile OTP and other is confirm with aadhar OTP. My api confirm with mobile OTP is working perfectly fine. I want to know how to trigger confirm with aadhar OTP and what is the exact api for this and what data to pass in header and what data to send as request ???

@sunchu Kindly look into it.

1 Like

@sidsinghal,
To use confirm with Aadhaar OTP , follow below two APIs.

https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Authentication/initiateAuthUsingPOST

NOTE: use authMethod as ‘AADHAAR_OTP’ in /v1/auth/init API request

https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Authentication/confirmWithAadhaarOtpUsingPOST