curl --location --request POST '/api/notification' \
--header 'Ocp-Apim-Subscription-Key: {{your-api-key}}' \
--header 'Authorization: Bearer {{your-access-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": 15,
"org_id": 1,
"agent_id": 298,
"content": "File Indexed Successfully"
}'
{
"success": true,
"message": "Notification created successfully.",
"data": {
"id": 40978,
"content": "File Indexed Successfully",
"is_read": false,
"created_on": "2024-10-22T20:34:28.004152Z",
"is_deleted": false,
"recipient": 15,
"org": 1,
"agent": 298
}
}