notifications
Retrieve unread notifications
get/notifications/unread
Query parameters
is_readboolean required
Response
Unread notifications retrieved successfully
Example response
{
"status": "success",
"message": "Unread notifications retrieved successfully",
"status_code": 200,
"data": {
"total_notification_count": 10,
"total_unread_notification_count": 2,
"notifications": [
{
"notification_id": "01910b38-22db-79a1-a766-26b69757e3d2",
"message": "This is a notification message",
"created_at": "2024-08-01T00:55:14.011782+01:00"
}
]
}
}