Create new ABHA number and link existing ABHA address

Hi team,

I want to create new ABHA number using Aadhaar and link existing ABHA address with newly created ABHA number in one flow.

There are api to create ABHA number and also create new ABHA address. But the api to link with current ABHA address is not there in healthidsbx.

Can you please provide the API sequences flow for the same?

hi @manjoorkapoor

For Abha number, Mupltiple Abha Address has been linked but for Abha Address only one Abha Number linked is possible

Thanks
Areeb

@Areeb which api should we use to create abha number/health id using aadhar?

hi @manjoorkapoor @akash_heme

v1/registration/aadhaar/generateOtp
Generate Aadhaar OTP on Registered mobile number Aadhaar Trxn ID

v1/registration/aadhaar/verifyOTP
Verify Aadhaar OTP received on Registered mobile number OTP,Trxn ID Trxn ID

v1/registration/aadhaar/generateMobileOTP
Generate Mobile OTP for verification. Mobile, Trxn ID Trxn ID

v1/registration/aadhaar/verifyMobileOTP
Verify Mobile OTP in an existing transaction. OTP,Trxn ID Trxn ID

v1/registration/aadhaar/createHealthIdWithPreVerified
Create Health ID using pre-verified Aadhaar & Mobile. Trxn ID , Demo Health ID, Token

Thanks
Areeb

Hi @Areeb what should be the base url?

Should we use healthidsbx.abdm.gov.in/api or healthidbeta.ndhm.gov.in/api

hi @akash_heme

Login to PHR Web (phrsbx.abdm.gov.in)

and then use the link ABHA Number functionality.

For API phr link/unlink
1)/api/v1/phr/login/init/transaction (Please Provide Abha Number )
(please provide Authorization token ) and copy traction id response body
2)/api/v1/phr/login/mobileEmail/preVerification ((please provide Authorization token along encrypt Otp ) and copy traction id response body
3)/api/v1/phr/profile/link/hid
((please provide Authorization token along with X-Token for Particular Abha Address which you like to linked this Abha Number )
4)api/v1/phr/profile/link/hid
((please provide Authorization token along with X-Token for Particular Abha Address which you like to delink this Abha Number )

from
Areeb

1 Like

Hi @Areeb @suraj08
Any update on linking “Health Id number” with previous ABHA address, which we discussed on thursday?