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