Callback urls linking to calling patient id

Hi @IntegrationSupport , I called
this URL with the given CURL :

curl --location --request POST ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes
–header ‘accept: /
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTExOTU2NjcsImlhdCI6MTY5MTE3NDA2NywianRpIjoiMTU1NDQxN2ItNDU0NC00MDBmLThlMWYtY2FhMDc2ZjIzNTlmIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI1ODAyMzYxNC0yMmM4LTRkOWItOTk5NS02MzIyOTc2ZGIwOWIiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzMzQzIiwic2Vzc2lvbl9zdGF0ZSI6ImVmNWQ4ZjIwLTdkZjktNDE4MS05NWIyLTIzNDNjYTQ0ZWIwYSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDMzNDMiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDMzNDMiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjExIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMzM0MyIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguMTEifQ.h8oz8j1QAJtGhNdEiCE7-4t6R7xLMVAPT6FZ8g77Dd1w1UEi8H40rcysEIUQJ82zJu5NDNn2sxAJpIQWGs2taOEU_JHPDf2GiUoaw1viMioT8r6394Lsk393cpdtp_BNrk6srxrmFs9I3kwdZgPjS8EfUJPuhB5SIUExcg3dw-4Glz3w9Dr7L1G_D9uuzivZh-s-hKMP7fABdGuOiwfvtm_DTBaOoSATvDqJyYcRRvwzdGfb3HOSD9W2uFpZR041-VxLR_IOg9MC-QmT7IdcNy-u7_f5nOWJDR86n7qjRzZIKEeaxf8XUvKRHrN_rM2Xwq4Oetx0-25uw8q-ZeyaWQ’
–header ‘Cookie: TS011c04bd=01445fed0456c84b19177865e3f85d39e01dabb4a1e512c2b0a0814d5ae1c3ea96cd325b4b13524526d89e19800d962e3f860beba9’
–data-raw ‘{
“requestId”: “fe1992e7-5d60-43dd-832e-9c7cb759779d”,
“timestamp”: “2023-08-04T20:44:33.133Z”,
“query”: {
“id”: “shubham.maurya@sbx”,
“purpose”: “LINK”,
“requester”: {
“type”: “HIP”,
“id”: “c14a8a60-0f7d”
}
}
}’

Then i received a callback as follows
{
“requestId”: “5b59a275-ea5a-4d03-8b55-ebc512c6cd33”,
“timestamp”: “2023-08-04T18:34:47.878055007”,
“auth”: {
“purpose”: “LINK”,
“modes”: [
“DEMOGRAPHICS”,
“MOBILE_OTP”,
“PASSWORD”
]
},
“error”: null,
“resp”: {
“requestId”: “47cba36a-2069-4dc6-8852-18776c1ea9de”
}
}

from above calling api which is :
https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes,
how to know that the callback is for the same fetch-modes api which is received on
this call back end point which is mentioned below
https://webhook.site/fd36da71-6949-4188-a919-cf8a3e70f5dc/v0.5/users/auth/on-fetch-modes

@Sachin please help

Hi @IntegrationSupport please help

Hi @IntegrationSupport please help its urgent and blocking our integeration

please help to reply here @IntegrationSupport

@Sachin Please check this thread.

Hi @IntegrationSupport can we have some else also checking the issue , since its a urgent issue

please help here @IntegrationSupport it is pending for too long here

@IntegrationSupport please help its been 12 days since the query is asked

Hi @IntegrationSupport please help guys on this one, this behaviour of ghosting is bad for all the interrogators

@Shubham_Kumar
Hi, Please go through the documentation https://sandbox.abdm.gov.in/abdm-docs/WorkingWithABDMapi; It is clearly stated the call back for fetch-modes is on-fetch-modes.

@Shubham_Kumar,

Hope you are doing great,

–> For this the call back url defined for ur client id will be same to the HIP registered with that client.
That is the relation between both.

CC : @Shubhanshu_S / @IntegrationSupport

Product - https://www.tracelyfe.com/

Contact - https://aconnect.racloop.com/

Thanks
ACONNECT (Product by Racloop )
Email - aconnect@racloop.com
ABDM first headless plugin

Hi @SARCH1 , i have read the documentation and also able to get the call back URL’s , but in case of multiple fallback and mutliple request , how to identify which fallback is for which request ? that’s the point where there is no documentation

Yes, it is there in the document. In the sequence diagrams, for every API call, the call-back API has been illustrated.
Handling of multiple requests : this you will have to handle in the implementation. Your solution consumes the API we have exposed and its corresponding call-back response will be share on your defined call back url.

Hi @SARCH1 , below is the curl command for the api : https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes

First API call

curl --location --request POST 'https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes' \

–header ‘accept: /
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTMyNjU3NTIsImlhdCI6MTY5MzI0NDE1MiwianRpIjoiYTljYzk1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xc6Jxl1SefxeLFpd6Z759xWhTg5Z2fG733QlvzuAbE7XiRuVSx0s1iG1wKxpz9TKigrZDqsRNQA9bOMdlKpXWh6Zg8zoHDdOBENqQ-EvbwJK9nK-CBtyyRB86hgZaZmdPSdtQ_NM9UWzn2fPsnStZm54698jivXKLuGJAOtJ3eSXQ4_4OAeKApGJoQ4sbCEnR-P4HQ48OvekeHLPLrQ’
–header ‘Cookie: TS011c04bd=01445fed0444812e5a0360b3d16bec2ca61afd57f73dfb5e5077295821da2e89ffc592d0bcec674be05e6d1441e03a3d86da39fd52’
–data-raw ‘{
“requestId”: “41ce8670-41fb-4752-bcc5-9848fae9d19c”,
“timestamp”: “2023-08-28T17:36:06.917Z”,
“query”: {
“id”: “shubham.maurya@sbx”,
“purpose”: “LINK”,
“requester”: {
“type”: “HIP”,
“id”: “c14a8a60-0f7d”
}
}
}’

first API call back response

{

“requestId”: “844964d3-5450-4085-8ebe-7a7e67987fe9”,
“timestamp”: “2023-08-28T17:35:58.388681939”,
“auth”: {
“purpose”: “LINK”,
“modes”: [
“MOBILE_OTP”,
“DEMOGRAPHICS”,
“PASSWORD”
]
},
“error”: null,
“resp”: {
“requestId”: “2087909b-b3a6-458a-8c82-4c794c883799”
}
}

Second API call
curl --location --request POST ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes
–header ‘accept: /
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTMyNjU3NTIsImlhdCI6MTY5MzI0NDE1MiwianRpIjoiYTljYzk1ZjYtM2NhMS00Yzg3LTlhNzktZTUxMGZmMjE5NWJhIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1y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-CBtyyRB86hgZaZmdPSdtQ_NM9UWzn2fPsnStZm54698jivXKLuGJAOtJ3eSXQ4_4OAeKApGJoQ4sbCEnR-P4HQ48OvekeHLPLrQ’
–header ‘Cookie: TS011c04bd=01445fed0444812e5a0360b3d16bec2ca61afd57f73dfb5e5077295821da2e89ffc592d0bcec674be05e6d1441e03a3d86da39fd52’
–data-raw ‘{
“requestId”: “c25078ab-1913-4485-a541-8b0d4c64d7de”,
“timestamp”: “2023-08-28T17:40:38.355Z”,
“query”: {
“id”: “shubham.kumar@sbx”,
“purpose”: “LINK”,
“requester”: {
“type”: “HIP”,
“id”: “c14a8a60-0f7d”
}
}
}’

second API call back response

{
“requestId”: “79ae092c-c812-4d76-90ba-98e889b50927”,
“timestamp”: “2023-08-28T17:35:58.388681939”,
“auth”: {
“purpose”: “LINK”,
“modes”: [
“MOBILE_OTP”,
“DEMOGRAPHICS”,
“PASSWORD”
]
},
“error”: null,
“resp”: {
“requestId”: “d597df79-9b5b-4469-9709-b363cdf8b1f7”
}
}

I have two api call made to /fetch-modes api , two callback also received , but how to identify which call back api belongs to which corresponding api call made by end point /fetch-modes

NOTE: In on of the M2 seminars video from youtube its said that this section :
“resp”: {
“requestId”: “7eb02cdd-fd78-43aa-b6a9-2a46ee3539ec”
}
of the call back response on this end point : /v0.5/users/auth/on-fetch-modes
should same as that of “requestId” sent from the, request body api end point of https://dev.abdm.gov.in/gateway/v0.5/users/auth/fetch-modes

cc: @Shubhanshu_S, @IntegrationSupport

@Shubham_Kumar, please share with us the screenshot from postman.

@Shubham_Kumar - please check the co-relation id in headers in postman for fetch-modes API and same co-relation id you will get in callback APIs

Hi @IntegrationSupport , iam not sending any correlaton id from header have attached the screen shot from my postman below

and below is the screenshot for callback URL

you are not sending any co-relation id; please see the headers tab in postman for co-relation id

Hi @SARCH1 , @IntegrationSupport have attached the screenshot with the co-relation id send in the ,
but still the co-relation sent from fetch-modes end point is different from on-fetch-modes in the call back please help

Hi @SARCH1 , @Shubhanshu_Shukla please help in this