Consent Manager Api Issue

Hi @Pankaj, @Shubhanshu_S, @neha.parnami,

I am getting 401 unauthorized error while calling the https://dev.abdm.gov.in/cm/consent-requests/46618c6d-4386-4997-813e-42801e614c66/approve api.

When i am calling the get api({{CM_HOST}}/consent-requests?status=GRANTED) using the same access token i am not getting any error and getting the response.

Using below api to get the access token
->{{CM_HOST}}/patients/profile/auth-confirm

Let us know why we are not able to call this api?

Hi @TataMDABDM,
Can you please Provide curl you are using.
Thanks