Hi @Ramandeep1 @IntegrationSupport
Grant me HID ROLE for Integration
Our NDHM_CLIENT ID : SBX_004346
Need HID role for Consuming ABHA Services…
Thanks in Advance.
Hi @Ramandeep1 @IntegrationSupport
Grant me HID ROLE for Integration
Our NDHM_CLIENT ID : SBX_004346
Need HID role for Consuming ABHA Services…
Thanks in Advance.
@noushealth HID role is default. Please start testing. If you get any error then , You can confirm roles. This you can do by passing your access token generated by //sessions API to https://jwt.io
@noushealth As you ae doing V3 api, you do not have access for V3 api. However in V1 and V2 you do not need access. We have requested for V3 access from backend.
Hi @IntegrationSupport Do let us know if backend team has given access to @noushealth accounts. We are avaitng from last 3 days for that.
But still
From below request we are getting 401
{
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “DFxvxRBnaXRi5eyRGCTjsXw7FjZA90FSc53sYZlfZfgtv4/gnGjz904KSbOKKBek7mAlt2BgIOmeCWCbtfGdcKinBaxPGIN98RHoainYT5uAmeXU0bSUcJKktWp4OB2swhzTUcnqR7Jn+O0MzkOR/gZMjsiBtZS1+WPhLo98C0BCdaNWXYxUzh0BWuPL6n9jteJupz+/07KqZ2BVwnoY2UwrYnnmOVuNgj1rgBS1V+VP6FLGS4r0bmYHzIIBWTAKsagJp+A6an5MpjCOYcnByvC+D62Co23Cbg6as96Q8PqpWBYCHIdnt3oUuHiuM3+x156nQFaRDJpkRLy+8SiUjkcd/BoK9jaRu9D6ZgbD717itQH+9y4y6FGWqks3UqRwyM3C05UHtIW3aCHNZtInxL4OJbZV2kNBSBHnm/PvPe4uFUkdj0+nuZjKhEq6Zrx8N42IFDkx75NDNVWHVJdlkJ5ZgBdlCGucDQDEa++49WJD4PQvJJbrtAnLsewod7XWr+YY3CcUztHJTSZfDeGI+IcrVIuiYjxRf+EYeVo3A03xaq5nxrx0ms4oz8KBxbn2v6JHQjuY/YXfOV5TEz2hMHSLbSNrbf9FJwcMluylr9mZHIBLV2oDIRvSXVmH9+xKZiRCy+mA3z34ayFr7bRkXF/yaX3IihfDM9Xd51dgcaY=”,
“otpSystem”: “aadhaar”
}
@noushealth - Kindly use the correct url, As I checked, you are hitting wrong url -
I am sharing the curl for the same
curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGc7yYBjvjzvv2zHrovCPKQzvd15HfIQ5TzC0UbwG2uqC9gqZbyanJsiCpvZVkuzQ’
–header ‘REQUEST-ID: 8bb161b9-97aa-45fc-b94a-33f7a2bb0f90’
–header ‘TIMESTAMP: 2023-12-14T10:45:03.728Z’
–data ‘{
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “REz8eZAX4HAjAK1UtToqrdpx/70TGonTTletmtLt0bpNB7Nhd5e3fsDxZiPeVKXVo70ysJr6n9oMsbI+TQOb6GYcUUI=”,
“otpSystem”: “aadhaar”
}’
Additionally, Kindly refer the documentation for the same.
Hi @Sachin @IntegrationSupport we are still getting authorisation error in some apis please help us resolve the issues
@noushealth Please use this CURL
curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiyb2dyYW0iLCJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsIkhpZF9DaGlsZCIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdf24iXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SWQiOiJOSEFURVNUXzAwMSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNzEuNzYiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1uaGF0ZXN0XzAwMSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNzEuNzYifQ.FWmfbRm2cs_sHX6u8-LW4ksYPMzrvaeXPs-SfXRQyL0hGgwUSGeAO6Npv6VCrU0rErRv7Xtaz43hmUvpIRx7z620i4G9vnBZc-Rr9OexgW6dhWoxTm7RdC4bWfwp21rsrwB-4EaVQ2SlcuP9pGxc3ZMCt3mstzpnI-wJ29tv3RJaPGlObUMaK9_K7bfpMgGvtXX8WZl-1I-AgFbd-gQwcYxoRnp6Z5n9QRW1c16mGUuxg14omjdJ9xAi3ipgWpwfmV5MiDJPyi7HJQpMOWSHDWUL-PZ69EhkZVw-pwH30XCClHZRg1gwaK4y8MplxP55zC0PX-1fvhfjOTfp_xSjDw’
–header ‘REQUEST-ID: 28749fa0-ecba-41a8-bc52-02e172aeac16’
–header ‘TIMESTAMP: 2023-11-28T10:22:24.467Z’
–data ‘{
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “meAMybA+hPxs/45S/e+x2nBSd4DaDsAJRboBNxJ9Z0qr9Hrw8YtXhn4D2BF3eJkrcuVZVO1UOk/6wxaOyNgjwefT2PKPK5hNGdvyZakB2xgONVMZyEYnJf0GaWbXuOC7+6mPJrdfq2cYwgCugY4kk41JpOvRO4VeYyWBTYVCZbV5lO9d4UtWQbr3peWXg7c7oNw4CUmOMKXyf12hJKrjX7UJQ3JyDIdjHiwjofjQGWUGM+v3hmcAR0Sjkn/BRZAp4TV9UbSo0=”,
“otpSystem”: “aadhaar”
}’
But we need for login hint mobile not for Aadhar
Hi team please update us about the issue resolution
After adhar verification in enrollment if mobile no doesnt match we are callimg send otp to verfiry mobile and that time we are getting access denied.
Added screenshot
@noushealth For Aadhaar verification, you have to enter the mobile number which is linked to the Aadhaar, OTP will be fired to the mobile number which is linked.
Use this CURL-
curl --location ‘https://abhasbx.abdm.gov.in/abha/api/v3/enrollment/request/otp’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiyb2dyYW0iLCJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsIkhpZF9DaGlsZCIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdf24iXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SWQiOiJOSEFURVNUXzAwMSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNzEuNzYiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1uaGF0ZXN0XzAwMSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNzEuNzYifQ.FWmfbRm2cs_sHX6u8-LW4ksYPMzrvaeXPs-SfXRQyL0hGgwUSGeAO6Npv6VCrU0rErRv7Xtaz43hmUvpIRx7z620i4G9vnBZc-Rr9OexgW6dhWoxTm7RdC4bWfwp21rsrwB-4EaVQ2SlcuP9pGxc3ZMCt3mstzpnI-wJ29tv3RJaPGlObUMaK9_K7bfpMgGvtXX8WZl-1I-AgFbd-gQwcYxoRnp6Z5n9QRW1c16mGUuxg14omjdJ9xAi3ipgWpwfmV5MiDJPyi7HJQpMOWSHDWUL-PZ69EhkZVw-pwH30XCClHZRg1gwaK4y8MplxP55zC0PX-1fvhfjOTfp_xSjDw’
–header ‘REQUEST-ID: 28749fa0-ecba-41a8-bc52-02e172aeac16’
–header ‘TIMESTAMP: 2023-11-28T10:22:24.467Z’
–data ‘{
“scope”: [
“abha-enrol”
],
“loginHint”: “aadhaar”,
“loginId”: “meAMybA+hPxs/45S/e+x2nBSd4DaDsAJRboBNxJ9Z0qr9Hrw8YtXhn4D2BF3eJkrcuVZVO1UOk/6wxaOyNgjwefT2PKPK5hNGdvyZakB2xgONVMZyEYnJf0GaWbXuOC7+6mPJrdfq2cYwgCugY4kk41JpOvRO4VeYyWBTYVCZbV5lO9d4UtWQbr3peWXg7c7oNw4CUmOMKXyf12hJKrjX7UJQ3JyDIdjHiwjofjQGWUGM+v3hmcAR0Sjkn/BRZAp4TV9UbSo0=”,
“otpSystem”: “aadhaar”
}’