Callback is not getting

Hello @IntegrationSupport @SARCH1 @Ramandeep1,

I am Himanshu Singh and our team is working on building a phr app we are done with all phr functionalities including Abha creation but have some questions related to the health locker,

  1. While I am sending the request of auth/init (“authMode”: “DIRECT”) from POSTMAN, I’m unable to get any response from you and for your reference, I am adding CURL
  2. Can you share the mandatory/optional test cases for the creation of a health locker with a phr app?
  3. Incase our phr app doesn’t have a health locker can we create a flow for uploading records (gallery , files etc ) through our app and then connect with existing health lockers

Request:
curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/init
–header ‘accept: /
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODYyMDUxNjUsImlhdCI6MTY4NjIwNDU2NSwianRpIjoiYzNkZWQwNjgtYzE5Yy00NGMzLTk4NmMtN2Q5NTM4MmQ3Nzc1IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkZjIzMTFiYi0wODVlLTQxNjEtYWMyNC0wYzA3M2NjNDFhZTciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzMjc5Iiwic2Vzc2lvbl9zdGF0ZSI6Ijc0OWQ4YzQyLTc0OGQtNDBmNi1iYjE2LTIzZmVjNTViZDk4OSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAzMjc5Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SG9zdCI6IjEwLjIzMy42OC4zMyIsImNsaWVudElkIjoiU0JYXzAwMzI3OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDMyNzkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY4LjMzIn0.TI9Cbxz5MMbWoObteuHnpO-I5UE3jF7tr9YUHq4hwJJKClDA0gM3E3HioaVbQ__UD5j7S2y7kY2dJRR1E7D2q2pHLk9HcAqZmzToUMBf9n6yuOlM8miKiwHwXwWzuFhsAeLkODVwtB7vauwQz3KIde-0BvJWGmS0CXb6IAVw2sQP87nMeyGFqaLTujhPe6ePjCTXSrPjyYIofIOOYZ8fMmp56I8bVqdXDTi_pVXOc4dfbQmedNR7m3h0ht1fGW6JP6x46yjjHGFa82KQP8kVCEbj83Y6PyZrrZ4OBSOB0smdvxkxW_3gGfCL-IpTvXVvpv95N4FnPn-wax-DRzMk1A’
–header ‘Cookie: TS011c04bd=01445fed04d47945f895297bc458ae55eac461cef5d549f0b8f9431cafe48cda4473ee749ea09396035cbcd7a4a07b43faf04adca5’
–data-raw ‘{
“requestId”: “81d836ad-0f0b-4510-b133-4335fb845928”,
“timestamp”: “2023-06-08T06:19:10.929Z”,
“query”: {
“id”: “himanshu454@sbx”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “DIRECT”,
“requester”: {
“type”: “HEALTH_LOCKER”,
“id”: “YoreLocker2023”
}
}
}’

Kindly help me with it

Warm Regards
Himanshu Singh

@IntegrationSupport Same Issue for us

curl --location 'https://dev.abdm.gov.in/gateway/v0.5/users/auth/init' \
--header 'accept: */*' \
--header 'X-CM-ID: sbx' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODYyMDg2MzYsImlhdCI6MTY4NjIwODAzNiwianRpIjoiZjkzN2IwODMtNjZiMy00NzdjLTg2MzEtZWI1MWJiZWJkYTQ2IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhYmJlNTM5OS1kODE3LTQwZjAtYmNiMi0wNDY1YmQ3NzA5NmMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxNjk5Iiwic2Vzc2lvbl9zdGF0ZSI6IjhlMDgwYjk5LWNlMzEtNGY0OS1iOTBhLTgxM2I2ZjE1MTIzMSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAxNjk5Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SG9zdCI6IjEwLjIzMy42Ny4yNTAiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImNsaWVudElkIjoiU0JYXzAwMTY5OSIsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1zYnhfMDAxNjk5IiwiY2xpZW50QWRkcmVzcyI6IjEwLjIzMy42Ny4yNTAifQ.eCNbkJlWPoU9DtbPpu6M-cEhd8Pf3GlA11zAiz2Z0yXZIqfoIwFUibxGueSjiuqbaIU2NkN0KI5bPyWMk01VRv1gptFDeyCU2E-vOXC58XeiFdxyG9ae_OqYFbhdTK403iOLM-KiDoz7IA8pntNWTHpXpbFQldqEp3T-sM5ygY-i4tKc0kEEzho-o3itgjcHBW1QtPagUL74cUhYqI0TsuAEZvbbBlU-wTgLNUGKQ_wzMHJrbs1iAMETI6k8x8R48CDlVTuKNCMKJdPco1V0V_r7sn7SKd8ydE4bargpdurXeZmPwxSsngf_2lR6fnDSmReONukQLRxhcRuMRkb1lQ' \
--header 'Cookie: TS011c04bd=01445fed045963c6774c95c85368d84c7e841d40d1d8035f9e872e1618a05d8fd8a160f31dd372257f7e2daf64e56b3f32fb1824d7' \
--data-raw '{
    "requestId": "9f6be8d5-e015-474e-9e91-9520724309ec",
    "timestamp": "2023-06-08T07:09:18.518000",
    "query": {
        "id": "kushpata@sbx",
        "purpose": "KYC_AND_LINK",
        "authMode": "DIRECT",
        "requester": {
            "type": "HEALTH_LOCKER",
            "id": "HEALTHE_LOCKER"
        }
    }
}'

@sankalp Direct AUTH is not a mandatory step. We request you to follow other auth methods, Mobile otp and aadhaar otp.

@IntegrationSupport Can you see my queries also.

@IntegrationSupport
Thanks for quick replay But I did not get callback when I hit this API

but when i change requester type HIP or HIU then It work receive callback

@himanshu0502 Please share your email ID so that we can share PHR test cases. Health locker is a part of PHR. So at any case you cannot implement PHR without implementing healthlocker.

@IntegrationSupport Please send all documents used for implementing Health Locker into Phr App to this mail himanshu@adsindia.tech

Main sent on given address on 08-June, 3:48 pm