https://dev.abdm.gov.in/cm/v1/apps/login/hid/auth-init
curl command----->
curl --location --request POST ‘https://dev.abdm.gov.in/cm/v1/apps/login/hid/auth-init’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTAwMzIzMjIsImlhdCI6MTY5MDAxMDcyMiwianRpIjoiNDliYmRmYTMtMzU0NC00MDlhLTgxYTMtNGZkODQ4ZDRkN2RiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJmMmU2NzFkZi03NzkzLTRhYzQtODdkMi04M2ExMGJhZWJmMTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzNDY4Iiwic2Vzc2lvbl9zdGF0ZSI6IjM3MTcyMzYyLWUxNTAtNDViZC1hODU1LTQ4NzRkYzQxYjZmZCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDM0NjgiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjEzIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJjbGllbnRJZCI6IlNCWF8wMDM0NjgiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMzQ2OCIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguMTMifQ.e2ADsIFgMsRtbTxMFsRe1v–nQuJkQyJbSXImweACwYrRdt8Rl7ThqNQzFbagFsEK8Oe2In282-hQL7PkkyHP9RcthjhT8V-Y-KOPF7grkcQMHULzc7JGrlbbBoafg6TZIg9kkhS2rhpRSAh8X0dch46DkuPtHrTXNKMo76t3I3sAfY2ILiH0sLxY8E32ddEuFvX6U4IYofi-XWLJLLIoODpNA_m574OSO5qHkJNdA32aVe1iBD0–BawjNylXD64OZxGSpDCaO7t7m8I0IMc2GpvYfq4zWiOgl2FjfqM1eGWhuNXdqWOyEfhBmw-rHXG4w78gTd048ObVUntk9FDg’ \
–header ‘Cookie: TS011c04bd=01445fed042429ce12a36f5844002cbfcb8b70812640cb9ac6b21d450a49db1083baf6fe3ddef27590fd1585b863cdf3c5cd72e3cf’ \
–data-raw '{
“authMode”: “MOBILE_OTP”,
“healthIdNumber”: “91-3771-2348-0750”,
“purpose”: “CM_ACCESS”,
“requester”: {
"id": "PHR_001",
"type": "PHR"
}
}’