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