Linking ABHA Address with ABHA ID

As per milestone 1, we are a Government program and we have integrated the below APIs to generate ABHA ID for a new patient registered under our platform and we have given the option to Link and existing ABHA ID as well.

As part of the above for creation of new ABHA ID - we are currently using the below API to authenticate the user using Aadhar OTP.

/v1/hid/benefit/aadhaar/verifyAadharOtp

As part of the response, though we are getting the healthidnumber, we are not getting the healthid (ABHA Address). It comes as “null”. In this case, how do we get the ABHA Address for the above ABHA ID?

Do we default it as (14digit ABHA ID)@sbx for sandbox and (14digit ABHA ID)@ndhm for production?

Hi @akhil

To create default ABHA address with ABHA number, kindly use the below mentioned link
https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Integrated%20Programs/createPhrAdressWithHealthIdNumberUsingPOST_1

To create ABHA address with ABHA number, kindly use the below mentioned link
https://app.swaggerhub.com/apis-docs/abdm.abha/abha-service/1.0#/Profile/createPhrAdressWithHealthIdNumberUsingPOST

Thanks

Thanks @Ramandeep1 Instead of having an additional API call, can we default the ABHA address as (14digit ABHA ID)@sbx/abdm for patients whose ABHA ID is being generated by us?

Also in case we have an ABHA ID, how do we find the relevant ABHA Address for the same entity?