@Uday ji,
Please check for second issue.
curl --location --request POST ‘
https://dev.abdm.gov.in/cm/v1/apps/phrAddress/auth-init’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODA1MDY0MjAsImlhdCI6MTY4MDUwNTgyMCwianRpIjoiNDhlNDU1NzQtZDViMC00NWE1LWI3MjEtODFhNDAwYTEzYjQwIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI2YWU3NzlkNi1kZmY5LTRiZGMtYWI0ZC0xYzA1ODcwMDA2OTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJURVNUX1BIUiIsInNlc3Npb25fc3RhdGUiOiJiY2E0MTJmOC00YjM0LTQyZmQtYmI0MC05MWJiN2JhNDE2NWMiLCJhY3IiOiIxIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImhpdSIsIm9mZmxpbmVfYWNjZXNzIiwiaGVhbHRoSWQiLCJwaHIiLCJPSURDIiwiaGlwIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiVEVTVF9QSFIiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlRFU1RfUEhSIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtdGVzdF9waHIifQ.jnYLWIxpBoFqLHlBFG1D75D9jqT6vYKsipOSP9OcHJVE0HvlCGp04b6ZOQM53sMFZwe-xrVxhxYaE1VOlrV65yhCjsRpgg_c8JPdzVrHRTMq4fPLAATCaVe1QjuxoEtOtICY0B5etjJZm8xHcQymzfQx2NXyxkhu_QiHaQ99-IDxHYlYrrEUOLFu_NtWLvcE0Az5LZGcjnvuv6LCo7BZp265qXRVukUefM6mQWZUh6vPDOnp6HU382FDWbP8K1y7QK4VlOGf6rlQoevHYKFZVia_EePs5nrQuxlADbstLb8i001GgQR3SsEPLZvKwB7XhuL8t0-W4kYiK4ATyebsdA’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed0487d690e260804ff7aab3cc16c68ad998852803fa533b2cec8770115bd711d2517758406e923ae34afc6bb8abfa782925’
–data-raw ‘{
“authMode”: “PASSWORD”,
“patientId”: “gnd05@sbx”,
“purpose”: “CM_ACCESS”,
“requester”: {
“id”: “phr_001”,
“type”: “PHR”
}
}’
its working fine .