notifications
Create a new notification
post/notifications/global
Request body
Example request
{
"message": "This is a notification message"
}Response
Notification created successfully
Example response
{
"status": "success",
"message": "Notification created successfully",
"status_code": 201,
"data": {
"notifications": [
{
"notification_id": "01910c39-01e0-73b7-bed9-d326a6ea5197",
"userId": "01910b39-01e0-73b7-bed9-d326a6ea5197",
"message": "This is a notification message",
"created_at": "2024-08-01T05:35:48.3211659+01:00"
}
]
}
}