Search via mobile number not returning abha details

Hi @IntegrationSupport,

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.

@IntegrationSupport can you please help with this?

@Vjdev Please guide in this trail.

@RohanChristopher707 - Abha address , kavitha198807@sbx is not linked. We checked at our end, API is working fine. Please see the curl below.

curl --location ‘https://healthidsbx.abdm.gov.in/api/v1/search/searchByMobile
–header ‘accept: /
–header ‘Accept-Language: en-US’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDgwNjQ3MTUsImlhdCI6MTcwODA2MzUxNSwianRpIjoiOTMyYjEwZDItNDBiZC00MzJiLThmZDgtMzdlNGViYWI0NTBhIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9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mjxkoVvsfwLAvglDkzNI9I0BSnyYsOaVmMh3PYlE8rfEBOeuUufWE2ONck5cSAbFi6f720kVpw4N6FNYxhU0_XXONQF8q8BPg5EQYozoqU0PgE8yu9XrrjDBZCwVzvcghaYjSJV4OeKnlFgpJQ3PRNQbJMXoEFjJwz1el2c5nqdRg2J0lB99Nxo195patUftvzNRf4ZsGaLo2rpmt4g’
–data ‘{
“gender”: “x”,
“mobile”: “63xxxxxxxx”,
“name”: “vxxxx xxxx”,
“yearOfBirth”: “2xxx”
}’

@IntegrationSupport this user does not have a healthId number hence, the phr address kavitha198807@sbx is not linked, this is for a scenario, where a user is reluctant to share aadhaar number, hence we use the mobile number and generate a phr address for the user, how do we link this phr address in this case? CC @Vjdev