V0.5/consents/hip/notify

@IntegrationSupport
@Sachin

Hi team

I am using these flow for WEB :
1)
This is Request url - /v0.5/consent-requests/init { In postman response 202 Accepted}
This is Response url - /v0.5/consent-requests/on-init { is coming in webhook }

This is Request url - v0.5/consents/hip/notify in am hitting these url in postman it was showing
Access Denied

This is request body

{

"requestId": "{{$guid}}",

"timestamp": "{{$isoTimestamp}}",

"notification": {

    "status": "GRANTED",

    "consentId": "{{$guid}}",

    "consentDetail": {

        "schemaVersion": null,

        "consentId": "{{$guid}}",

        "createdAt": "{{$isoTimestamp}}",

        "patient": {

            "id": "mounika12345@sbx"

        },

        "careContexts": [

            {

                "patientReference": "sindhu", //hinapatel79@hospital

                "careContextReference": "paracetamal-10"//Episode1

            }

        ],

        "purpose": {

        "text": "Sai Ram",

        "code": "PATRQT",

        "refUri": ""

        },

        "hip": {

            "id": "Sahadri-HIP-1"

        },

        "consentManager": {

            "id": "sbx"

        },

        "hiTypes": [

            [2,6,7]

        ],

        "permission": {

            "accessMode": 0,

            "dateRange": {

                "from": "{{$isoTimestamp}}",

                "to": "2025-11-14T04:28:32.780Z"

            },

            "dataEraseAt": "2025-11-14T04:28:32.780Z",

            "frequency": {

                "unit": "0",

                "value": 1,

                "repeats": 0

            }

        }

    },

    "signature": "Sindhu"

}

}

And how can we encrypt the signature

The above url is a callback url which will be triggered by the ABDM Gateway.
You should receive the same in the webhook.

@ayadav @IntegrationSupport @Sachin
Hi ayadav and Sachin
Lets assume I am clicking on Pull Records in PHR app so that I am getting a callback URL with v0.5/consents/hip/notify. But I wanted to know is there any way to call Pull records from Postman by using end point . In that case, I will not pull records from PHR instead I will hit in postman.

Can you please give your contact details for further communication?

@Bhaskar1

You can call the APIs from postman too, you can copy the request id from th callback and call the on-notify API from postman.

email - abdm.pc20@nha.gov.in

@Sachin

Can you please tell which API should I call from postman before on-notify api

@Bhaskar1 auth/confirm api to call, you will receive auth/on-confirm call back

@Bhaskar1
Please write me on abdm.pc20@nha.gov.in. We will share the APIs, I am not able to attach it here