Link / create Healthid number to existing ABHA address

Hi Team, @Shubhanshu_S @suraj08 @suraj

I already have a abha address, I want to KYC (either link to existing Health ID Number or create new). Can you provide the API sequence for the both the scenario?

hi @manjoorkapoor

here is the api sequence

Link
/api/v1/phr/registration/hid/search/auth-methods
/api/v1/phr/login/init/transaction
/api/v1/phr/login/mobileEmail/preVerification
/api/v1/phr/profile/link/hid

Unlink
/api/v1/phr/profile/link/hid

Thanks.

Hi @shobhitgunwant
What are the payloads of the API?

And these API will link with healthidnumber which already exists.

I am creating a new healthidnumber and want link my old / previous ABHA address. Which is not working.

Hi @manjoorkapoor, Kindly check this Link/Unlink ABHA No to ABHA Address.

I hope it will answer your query.

Thanks!

@IntegrationSupport @shobhitgunwant @Shubhanshu_S @Areeb

In last step of linking
https://phrsbx.abdm.gov.in/api/v1/phr/profile/link/hid

If ABHA Address is already linked with some other ABHA Number. It should return a proper message.
Now in response I am just getting
{
“success”: false
}
What should we consider is it already linked or any other error occured?

Hi @manjoorkapoor, Team will check and revert.