I am creating a PHR address using MOBILE NUMBER flow with the following endpoint
POST https://phrsbx.abdm.gov.in/api/v1/phr/registration/create/phr endpoint with the following payload
Body
{
“alreadyExistedPHR”: “false”,
“phrAddress”: “kavitha198807”,
“transactionId”: “8e0ff19d-895e-49d9-a22f-22f4b18551e4”
}
and get a success response, indicating creation of ABHA address.
{
“token”: “eyJhbGciOiJSUzUxMiJ9…”,
“expiresIn”: 7200,
“refreshToken”: “eyJhbGciOiJSUzUxMiJ9…”,
“refreshExpiresIn”: 432000,
“phrAdress”: “kavitha198807@sbx”,
“authTs”: “wD2Bz9kM/7LMh/mthplpu83eRoSq3qQij3CL9RFgF5Q=”
}
When I search using the mobile number used to create the above ABHA address using the below endpoint:
POST https://healthidsbx.abdm.gov.in/api/v1/search/searchByMobile
Body
{
“mobile”:“9XXXXXXX98” //NUMBER IS MASKED
“name”: “kavitha anand b l”,
“gender”: “F”,
“yearOfBirth”: “1988”
}
It returns an empty response indicating ABHA was not found. Is this expected behavior? additional info which might be useful, I have created the ABHA address using mobile flow, but it is not linked to ABHA number.
please clarify,
Thanks.