Registration of ABHA Address by Mobile Or Email APIs

Hi @IntegrationSupport

When I try to use this API : https://dev.abdm.gov.in/cm/v1/apps/generate/otp
with following Request body:
{

“value”:“gqVgTyzt3orJAvAAASmDKFCdqvJmpl3AwTUtvFLIOiugIW3gdQXsuUh5HZVgYjQgvqXczPTlUK9dJq49qmwBpWOzaJpjXJXzw5m5C8rN78yTlg7f9pPWtkuIHyqyrZ9ALLPtSVvAmsfUiJyVJCUKG3T/xWVpe1cQGfF0nIf9/O2yy+xVw3fYOOPBloPYSMh02rmARPKI1LufCVYBnNIsegH++t/7BjVMrIVlfi0IQlKpOmaSDL4v9WZC1KuhPI4h3NV3zvJ0+g/BxeQIsu3jlVIaM53gIf0czcHXdepzC0j47GQAu2Slh96VKCCfoI7OShZC3TnwfbmG6cys6OM0Jjh5t84iB8q21NW/WmHoroUu+914pzWGQb5lh4j2g1ehqD2lGTTBSw8cxrttgtvwy1mPKxiPCVGRfVIXYI+rmzHJje2MQN47iIFQC3Kde5v6+HjBkoq1RD20ZQFLhbkR42ZucHaW7A1bzT+69hfLABeOdGQeLfhRiO0V02Wxs1XhzKN1jb1Vk0feYBe/t/T8RiI8Fn24Ae7+M+PEg73TQikBdZjFB0us50eF64NMnxNBeN3eniqh4wbgJXyse8GC6NJ32+Ef/LMHDDBl9OPSmocl9Y7oR/9AI4UYlUw21+DvONayuFJGZcWB6bTmYvUcrfuPxuI5pcIW0JcK+jWWdzA=”,

“authMode”: “MOBILE_OTP”

}

I got an error as response:
{

"error": {

    "code": 1510,

    "message": "Mobile/Email '#Input' value is invalid."

}

}

Please check and update.

Hi @IntegrationSupport Any update for this error??

Hi @IntegrationSupport I am still stuck with the same error please help.
Hello @anchal2909 if you have experience with it and can help me troubleshoot, please share the steps or insights you have. Your assistance would be greatly appreciated.

@Preet_16
This Api Accepts Mobile Number/Email and then Generates OTP for it. Request Body - Required Response - Api Accepts Mobile Number/Email and then Generates OTP for it. if number/email id not found then throws error.

Note OTP will be valid for 10 mins only.

Please enter valid mobile number in the body auth_ mode. Why have you entered MOBILE_OTP. You will receive mobile OTP to the provided mobile number.

Hii @IntegrationSupport thanks for replying to my problem. I am using the api in which I have to provide the auth mode for registration and the mobile number have to go in an encrypted form . I am also attaching the Api ss which I am using-

URL- https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Registration%20of%20ABHA%20Address%20by%20Mobile%20Or%20Email%20APIs/generateOTPUsingPOST_1

@Preet_16 For V1 version no encryption required. Please read the documentation section for further knowledge.

I am hitting the below mentioned API:
https://dev.ndhm.gov.in/cm/v1/apps/generate/otp

As mentioned in the swagger link, mobile no. needs to be provided in encrypted form.

Below is the swagger URL for your reference:
https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Registration%20of%20ABHA%20Address%20by%20Mobile%20Or%20Email%20APIs/generateOTPUsingPOST_1

I am stuck on this. Could you please assist here on priority.

Hi @IntegrationSupport @satyadeep @anchal2909 any update on the above api as I am not able to move forward with my work.

@Preet_16 Registration by Mobile/Email is not in use now. For ABHA creation only use Aadhaar number.

Look into our new documentation and implement
https://sandbox.abdm.gov.in/abdm-docs/CreateOfAbhaNumber

1 Like