Request for appropriate roles

Can you please enable following roles for our client id-
HIP(our user store records through aayu app)
HIU(doctors serve teleconsutlations on our platform)
Health ID provider: Want to be health id service provider as we serve tier-3 and rural segment users

As of now able to genrate access token using session api but other apis are failing with unauthorized error.

client id: MEDCORDS_383474
X_HIP_ID = MEDCORDS-HIP-2021
X_HIU_ID = MEDCORDS-HIU-2021

Hey @saida.dhanavath,

Can you please confirm us your redirect-url as roles you have asked for already seems to be provided.

Thank You

Thanks @Shubhanshu_Shukla,

I had set it as https://ndhm-dev.medcords.com

headers: {‘Accept-Language’: ‘en/US’, ‘X-HIP-ID’: ‘MEDCORDS-HIP-2021’, ‘Content-Type’: ‘application/json’, ‘Authorization’: u’Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2MzM0NDEyOTAsImlhdCI6MTYzMzQ0MDY5MCwianRpIjoiOWM0ZGY3MjUtNmU3ZS00YzY4LThlMDAtZjM0MTZkNGE3MTQ5IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIxYzNkNjQ4My0wYTk0LTQ5ZDctOTU2YS1iYzJmYjkyNzA0NTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJNRURDT1JEU18zODM0NzQiLCJzZXNzaW9uX3N0YXRlIjoiMDcwNjZlMTItNmU2Yi00MDMzLTk0NjAtZjQxMzc4YzFlZTM5IiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjkwMDciXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImhpdSIsIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJNRURDT1JEU18zODM0NzQiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6Ik1FRENPUkRTXzM4MzQ3NCIsImNsaWVudEhvc3QiOiIxMC4yMzMuNjkuMjciLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1tZWRjb3Jkc18zODM0NzQiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY5LjI3In0.JyyrCMqJp0wJjKmdzyvf9w6wd4pTdKQdZr3hg9SpJYAMhIjcUIR7aZgnRd_ur4kw02k_8iv3uNLzFYeB8Vc8acCAdscisF2_Pd2hlVIRFDN8-Rr5rELdaz6isZK4nX6JQ9zwzI_79pHRabuLgZxDs9ts15EaCkNIh_K9pVh12tnHsy_xQLenqUUCa7H5bQg_Yx0IKeCYLYBbiU12c6UrKl7LQZt8LYPDWatkE9b2PkydyM10sO0ASdu1j94LcZH62ytbwdls8QE40XTePTb3jC0DZBPXnOF9rB3jyW3YWqKr0u_dq4BWlsU9yrxXuiyylT8GLxXIBE2FWq1GhstwnQ’} endpoint: https://healthidsbx.ndhm.gov.in/api/v1/registration/aadhaar/search/aadhar
payload: {‘aadhaar’: u’xxxx2664xxxx’}

response: “{“timestamp”:“2021-10-05T13:31:30.986+0000”,“status”:401,“error”:“Unauthorized”,“message”:“Unauthorized”,“path”:”/api/v1/registration/aadhaar/search/aadhar"}"

@Shubhanshu_Shukla Can you please check and confirm?

Hi @Shubhanshu_Shukla,

Can you pls check it and resolve my issue?

Hey @Dhawal,

Can you help help?

Thanks

Hi @saida.dhanavath,
What is your purpose of using this endpoint? It is not to be used by external integrators.
There is no feature to search by aadhaar for external integrators.

Thanks

Hi @Dhawal,

Health ID provider role: Want to be health id service provider as we serve tier-3 and rural segment users

@saida.dhanavath,
This API is not to be used.
If you are able to use other registration APIs then you are fine.

Thanks

Hi @Dhawal/Ashok,

Thanks for clarification. Will check and update you.