user_id
as a query parameter and the org_id
in the request body.is_read
to true
.curl --location -g --request PUT 'https:///v2/api/notification?user_id' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"org_id": 1
}'
{
"success": true,
"message": "Notification modified successfully.",
"data": [
{
"id": 71615,
"content": "Testing Notifications APIs",
"is_read": true,
"created_on": "2025-02-06T17:16:25.233818Z",
"is_deleted": false,
"redirection_details": {},
"recipient": 147,
"org": 1,
"agent": 1297
}
]
}