How to get consent request list in PHR app?

Hi @IntegrationSupport,

I can create a consent request, but I cannot fetch the request in the PHR app. Can you please help us to implement it? May I know the APIs to fetch the list with request parameters?

Hi,
Try this API:
https://dev.abdm.gov.in/cm/patients/requests?consentLimit=105&consentOffset=0&lockerSetupLimit=198&lockerSetupOffset=0&subscriptionLimit=80&subscriptionOffset=0&authorizationLimit=100&authorizationOffset=0&status=GRANTED

Thanks for the response.

But it does not work, we have to pass the ABHA address of the patient in order to get the list of care-contexts and consents.

Please refer to below link:
https://sandbox.abdm.gov.in/docs/build_hiu
https://sandbox.abdm.gov.in/swagger/ndhm-hiu.yaml

1 Like