Guidance for next step

Hi Team,

We have completed the first step of getting Client_ID (Bridge_ID) and the Secret_Key so kindly request you to guide us for the next step ahead and also request you for sharing of the required process documents and API documents.

Please share the documents at the earliest.

Thankyou and Regards,
DSPL

@saurabhsoni,

Please follow the API list.

  1. /gateway/v1/bridges/addUpdateServices

curl --location --request POST ‘https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzE2MDM4MDMsImlhdCI6MTY3MTYwMzIwMywianRpIjoiMWU1MzgwNzYtYTVkNy00YjFiLWE5Y2UtNTc1MGVjNjdhZmZhIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIxZWNkZGZiZS02ZTZhLTQ4YjAtYWI2My03ODY1Y2I3MzM4YTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJHT1ZJTkRfTFRJIiwic2Vzc2lvbl9zdGF0ZSI6ImY4NjA5ZmYzLWMwOTQtNGE4OS05YjdiLTEyMzhiOTQ1ODY5MSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImNtIiwiaGVhbHRoSWQiLCJPSURDIiwiZ2F0ZXdheSIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfSwiR09WSU5EX0xUSSI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IkdPVklORF9MVEkiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjIxOSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LWdvdmluZF9sdGkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY4LjIxOSJ9.Dlcmsnh3G2kdEQYV8dwKLjgdl6J_A7ZD2_CMOT9CBxWdx3Mc0o1uxtXl0oYNf4nZ8yCLLb-oWvyodxgRdgSDSS9nvYdGK19qywWajJV604-XVXC_BXKBkN6YfD4HBiY9zH_Px_CF7-VZE7rZqPh7UsEQ5dZu_QsOI-t3Bb3k8roHE5zgs-3445tkFdE0k_XKmg-9w3aCJUm-E3BJuGzaeONp_DUpm4U8Wb9FnMca0e1ISSj9MKUI9rQcGqZuoHC8RckLwO83_XTI3lQ0Vdzdu8bozMA_JhKlx2TrkOEaqPtkI2VTASQa5i1v4MBgKXjXyq7SteROdl9vlaq0RDqHGA’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed04d5f91a709fd8f9c6f63c68a521e3039eb0246609ea9b17af0158bf6c04d6adbaefcc25e1b2f9a26e3afde5581c9eb5a4’
–data-raw ‘[
{
“id”: “Mohan-HIP”,
“name”: “Mohan Hospital”,
“type”: “HIP”,
“active”: true,
“alias”: [
“Mohan-HIP1”
]
}
]’

  1. /gateway/v1/bridges

curl --location --request PATCH ‘https://dev.abdm.gov.in/gateway/v1/bridges
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzE2MDM4MDMsImlhdCI6MTY3M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vyodxgRdgSDSS9nvYdGK19qywWajJV604-XVXC_BXKBkN6YfD4HBiY9zH_Px_CF7-VZE7rZqPh7UsEQ5dZu_QsOI-t3Bb3k8roHE5zgs-3445tkFdE0k_XKmg-9w3aCJUm-E3BJuGzaeONp_DUpm4U8Wb9FnMca0e1ISSj9MKUI9rQcGqZuoHC8RckLwO83_XTI3lQ0Vdzdu8bozMA_JhKlx2TrkOEaqPtkI2VTASQa5i1v4MBgKXjXyq7SteROdl9vlaq0RDqHGA’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed04d5f91a709fd8f9c6f63c68a521e3039eb0246609ea9b17af0158bf6c04d6adbaefcc25e1b2f9a26e3afde5581c9eb5a4’
–data-raw ‘{
“url”: “https://webhook.site/9c15ee3c-8a75-4909-89eb-f7c2aab06744
}’

  1. /gateway/v1/bridges/getServices

curl --location --request GET ‘https://dev.abdm.gov.in/gateway/v1/bridges/getServices
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI1WVpwM043VlFCdEE1cDZwcktkdXYyV0NaTTZVVlFVLWZTcEZJb0tiQU9ZIn0.eyJleHAiOjE2NzEyMjY5ODksImlhdCI6MTY3MTE5MDk4OSwianRpIjoiMjdhZGY0ZmItNjE2YS00NmEzLWIzNmEtOGEzNjFkNjQ0OTNiIiwiaXNzIjoiaHR0cHM6Ly9wcmVwcm9kLm5kaG0uZ292LmluL2F1dGgvcmVhbG1zL2NlbnRyYWwtcmVnaXN0cnkiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYTZhNjdhNTAtZDJiNi00M2IwLWFiMGEtYTVjYzJlNzU5MjNhIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoidGVzdF9hbGwiLCJzZXNzaW9uX3N0YXRlIjoiMzQwM2Y1NjAtOTNkNC00MmE3LTk3MDctNzBiYzk2M2Q3NTY1IiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJIaWRJbnRlZ3JhdGVkUHJvZ3JhbSIsImhpdSIsImhmciIsIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiLCJwaHIiLCJocHIiLCJPSURDIiwiaGlwIiwiZ2F0ZXdheSIsImhwX2lkIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19LCJ0ZXN0X2FsbCI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfX0sInNjb3BlIjoib3BlbmlkIHByb2ZpbGUgZW1haWwiLCJjbGllbnRJZCI6InRlc3RfYWxsIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtdGVzdF9hbGwifQ.jMjG8H7yc1b6HCGL0L4Ecl84kWn3YJgNNhv46TiVpdV4ZEu6oAbwI8nicef0ePlccMJxlp0rcMZjOSgt26zrI6t6crJtzmjpPHnfSaYyI8PMcxkwGaRxGfg7-NCFtZli8h7uASa8m9tqGYYDHnf4nNoIOIMtChpOqAJt_c9eCBcY7PgmJBLJL4eo-6Fkf77zAC4bOj4Q3HPsM2c2mugSaF6Q3iz4tc8lstAbDCNjNDC4R3FPPgXHiKyVd6KRuAmAdUzxADO4M4fddNoY8HwSSEuKkRumGvcvofnaFgyxacQHaWetkrRojZ1DIYeuiHGpGvHO-Qen-ExiyptnEVdGnQ’

/v0.5/users/auth/fetch-modes:

curl --location --request POST ‘https://dev.ndhm.gov.in/gateway/v0.5/users/auth/fetch-modes
–header ‘X-CM-ID: sbx’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.ey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bxayZpo7MK80-qLkbhXh_10j_YkV7ODwtGi22Z6AZFFvapbHX1Ilk_Og_Qbe7x6VhqlsrsyYnPrbu2h0WT4G3QWR99VIZWZn7mWxkwH1a7Z3BZn3_0kzMgYiYO4HvHHKXi3bGMnyyjiaNl5j745ppBlEzHWdrf795CpefzjYnawOcOU6BKnnxdVHR212mV5KoNEWImx7dOw-xiNIxobMnAZy2jh65oXewmfv2n5znxM9bqsfXvsToNMZbBKbUlhFVOJHjHMbqvrFTzJ8knwKG9vmsa62hf4n0OFwXqw’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01445fed04b588ff87c8dc3bc9727210a20d1086e92d267b14316b4295c9c11ad6cc8b2de2c56c42324541871a7215447c49e1fd29’
–data-raw ‘{
“requestId”: “766e76d2-39a7-4d63-bbf0-3dcc2dfc74e2”,
“timestamp”: “2022-11-28T11:17:21.578000”,
“query”: {
“id”: “gdeshmukh@sbx”,
“purpose”: “LINK”,
“requester”: {
“type”: “HIP”,
“id”: “GND-HIP”
}
}
}’

/v0.5/users/auth/on-fetch-modes:

{
“requestId”: “ba29ee84-37d5-4a93-86fa-3c9b680b52fa”,
“timestamp”: “2022-11-28T11:14:39.037923”,
“auth”: {
“purpose”: “LINK”,
“modes”: [
“MOBILE_OTP”,
“DEMOGRAPHICS”,
“PASSWORD”
]
},
“error”: null,
“resp”: {
“requestId”: “e1c27f66-6e83-4bb9-bcb9-6cb54105e65a”
}
}

/v0.5/users/auth/init:

curl --location --request POST ‘https://dev.ndhm.gov.in/gateway/v0.5/users/auth/init
–header ‘X-CM-ID: sbx’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2Njk2MzQ2NTksImlhdCI6MTY2OTYzNDA1OSwianRpIjoiZTQyNDYxOTctZjJkNS00ZmNkLTgzMzctZW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3QWR99VIZWZn7mWxkwH1a7Z3BZn3_0kzMgYiYO4HvHHKXi3bGMnyyjiaNl5j745ppBlEzHWdrf795CpefzjYnawOcOU6BKnnxdVHR212mV5KoNEWImx7dOw-xiNIxobMnAZy2jh65oXewmfv2n5znxM9bqsfXvsToNMZbBKbUlhFVOJHjHMbqvrFTzJ8knwKG9vmsa62hf4n0OFwXqw’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01445fed04b588ff87c8dc3bc9727210a20d1086e92d267b14316b4295c9c11ad6cc8b2de2c56c42324541871a7215447c49e1fd29’
–data-raw ‘{
“requestId”: “6bb78bdd-e36b-4909-aa83-ab5a9dfc53a7”,
“timestamp”: “2022-11-28T11:17:21.578000”,
“query”: {
“id”: “gdeshmukh@sbx”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “DEMOGRAPHICS”,
“requester”: {
“type”: “HIP”,
“id”: “GND-HIP”
}
}
}’

/v0.5/users/auth/on-init:

{
“requestId”: “0f15bbd3-5d64-4198-8a4e-8bcfadecbf54”,
“timestamp”: “2022-11-28T11:15:03.435918”,
“auth”: {
“transactionId”: “92d49844-17b2-438e-a53d-bea48b0b8e55”,
“mode”: “DEMOGRAPHICS”,
“meta”: {
“hint”: null,
“expiry”: “2022-11-28T13:15:03.435939”
}
},
“error”: null,
“resp”: {
“requestId”: “b7927a18-a0e9-4778-9c51-534cf0aaa6e1”
}
}

/v0.5/users/auth/confirm:

curl --location --request POST ‘https://dev.ndhm.gov.in/gateway/v0.5/users/auth/confirm
–header ‘X-CM-ID: sbx’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2Njk2MzQ2NTksImlhdCI6MTY2OTYzNDA1OSwianRpIjoiZTQyNDYxOTctZjJkNS00ZmNkLTgzMzctZWU1MjI0YzY3N2RmIiw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H1a7Z3BZn3_0kzMgYiYO4HvHHKXi3bGMnyyjiaNl5j745ppBlEzHWdrf795CpefzjYnawOcOU6BKnnxdVHR212mV5KoNEWImx7dOw-xiNIxobMnAZy2jh65oXewmfv2n5znxM9bqsfXvsToNMZbBKbUlhFVOJHjHMbqvrFTzJ8knwKG9vmsa62hf4n0OFwXqw’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01445fed04b588ff87c8dc3bc9727210a20d1086e92d267b14316b4295c9c11ad6cc8b2de2c56c42324541871a7215447c49e1fd29’
–data-raw ‘{
“requestId”: “5068e5e3-9533-4734-a4d5-01e41ffe5506”,
“timestamp”: “2022-11-28T11:17:21.578000”,
“transactionId”: “92d49844-17b2-438e-a53d-bea48b0b8e55”,
“credential”: {
“demographic”: {
“name”: “G N Deshmukh”,
“gender”: “M”,
“dateOfBirth”: “1993-11-05”,
“identifier”: {
“type”: “MOBILE”,
“value”: “+91-7013061970”
}
}
}
}’

/v0.5/users/auth/on-confirm:

{
“requestId”: “b214bd48-7216-48ca-9d35-d09507abffb8”,
“timestamp”: “2022-11-28T11:16:28.423496”,
“auth”: {
“accessToken”: “eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnZGVzaG11a2hAc2J4IiwicmVxdWVzdGVyVHlwZSI6IkhJUCIsInJlcXVlc3RlcklkIjoiR05ELUhJUCIsInBhdGllbnRJZCI6ImdkZXNobXVraEBzYngiLCJzZXNzaW9uSWQiOiJmMzE3NjViOC01NTkxLTQ5NmYtODkwZi0wODA2YTkxYjk0M2EiLCJleHAiOjE2Njk3MjA1ODgsImlhdCI6MTY2OTYzNDE4OH0.WGDqrQFmYI88Mk0n96phlBceiY4yyfZTMa1Jkk9xn3ulFT_PIU8jWZLMVDY1pf0t9TXR_Hy9dXdO0cNVY7-wUoeg0Jz9Iam1YaEY-clPns7eDz6KlkTzUBB_nP8rpKWvXfX-NwGeqad2q3w3j8seAFWQBBidEh-Vr4ivJOsa_U6IBNiYcklDalTAaauPmJzchWV80wLMqq1RIcMBOJkeNT6hILdEbK2MIPe32Qi5WZpoBF55OP4icbYE9Vi70A3BJPqZf60cWeNskZiiA8QWg07p2gAMoyBGYdN3d_O7gj1a-ApeJQoat-nsoOd-wcyY7UehhI_dFMLj0h28rmxARw”,
“patient”: {
“id”: null,
“name”: “G N Deshmukh”,
“gender”: “M”,
“yearOfBirth”: 1993,
“monthOfBirth”: 11,
“dayOfBirth”: 5,
“address”: null,
“identifiers”: [
{
“type”: “MOBILE”,
“value”: “+91-7013061970”
}
]
}
},
“error”: null,
“resp”: {
“requestId”: “c2de1215-9867-4745-a3e3-c215256ffa17”
}
}

/v0.5/links/link/add-contexts:

curl --location --request POST ‘https://dev.ndhm.gov.in/gateway/v0.5/links/link/add-contexts
–header ‘X-CM-ID: sbx’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2Njk2MzQ2NTksImlhdCI6MTY2OTYzNDA1OSwianRpIjoiZTQyNDYxOTctZjJkNS00ZmNkLTgzMzctZWU1MjI0YzY3N2RmIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiIxZWNkZGZiZS02ZTZhLTQ4YjAtYWI2My03ODY1Y2I3MzM4YTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJHT1ZJTkRfTFRJIiwic2Vzc2lvbl9zdGF0ZSI6ImFmMzkyNTUxLTcxZTctNDY1My1hOGM0LWIzOGRiODJmYzU1NiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImNtIiwiaGVhbHRoSWQiLCJPSURDIiwiZ2F0ZXdheSIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfSwiR09WSU5EX0xUSSI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IkdPVklORF9MVEkiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY5LjQ2IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtZ292aW5kX2x0aSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjkuNDYifQ.OrAbUc3cQZ9xa10mMygUzJ_KTbhA0tv6ZfjhXFyQW8_dIGdbxayZpo7MK80-qLkbhXh_10j_YkV7ODwtGi22Z6AZFFvapbHX1Ilk_Og_Qbe7x6VhqlsrsyYnPrbu2h0WT4G3QWR99VIZWZn7mWxkwH1a7Z3BZn3_0kzMgYiYO4HvHHKXi3bGMnyyjiaNl5j745ppBlEzHWdrf795CpefzjYnawOcOU6BKnnxdVHR212mV5KoNEWImx7dOw-xiNIxobMnAZy2jh65oXewmfv2n5znxM9bqsfXvsToNMZbBKbUlhFVOJHjHMbqvrFTzJ8knwKG9vmsa62hf4n0OFwXqw’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01445fed04b588ff87c8dc3bc9727210a20d1086e92d267b14316b4295c9c11ad6cc8b2de2c56c42324541871a7215447c49e1fd29’
–data-raw ‘{
“requestId”: “e734b9fb-b674-4fa1-b268-aaf8cdf455a6”,
“timestamp”: “2022-11-28T11:17:21.578000”,
“link”: {
“accessToken”: “eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJnZGVzaG11a2hAc2J4IiwicmVxdWVzdGVyVHlwZSI6IkhJUCIsInJlcXVlc3RlcklkIjoiR05ELUhJUCIsInBhdGllbnRJZCI6ImdkZXNobXVraEBzYngiLCJzZXNzaW9uSWQiOiJmMzE3NjViOC01NTkxLTQ5NmYtODkwZi0wODA2YTkxYjk0M2EiLCJleHAiOjE2Njk3MjA1ODgsImlhdCI6MTY2OTYzNDE4OH0.WGDqrQFmYI88Mk0n96phlBceiY4yyfZTMa1Jkk9xn3ulFT_PIU8jWZLMVDY1pf0t9TXR_Hy9dXdO0cNVY7-wUoeg0Jz9Iam1YaEY-clPns7eDz6KlkTzUBB_nP8rpKWvXfX-NwGeqad2q3w3j8seAFWQBBidEh-Vr4ivJOsa_U6IBNiYcklDalTAaauPmJzchWV80wLMqq1RIcMBOJkeNT6hILdEbK2MIPe32Qi5WZpoBF55OP4icbYE9Vi70A3BJPqZf60cWeNskZiiA8QWg07p2gAMoyBGYdN3d_O7gj1a-ApeJQoat-nsoOd-wcyY7UehhI_dFMLj0h28rmxARw”,
“patient”: {
“referenceNumber”: “TMH-PUID-101”,
“display”: “Common Cold”,
“careContexts”: [
{
“referenceNumber”: “Common Cold”,
“display”: “Prescribed Paracetamol”
}
]
}
}
}’

/v0.5/links/link/on-add-contexts:

{
“requestId”: “9fe5c08e-9fa9-4de4-a212-947fa525975c”,
“timestamp”: “2022-11-28T11:17:22.958493”,
“acknowledgement”: {
“status”: “SUCCESS”
},
“error”: null,
“resp”: {
“requestId”: “574b9da5-7a5d-4ccb-aec8-119cf9cb4e14”
}
}

Thanks