v1

latestOpenAPI 3.0.3Apache 2.02026-07-1710047196.1 KB
notifications

Create a new notification

post/notifications/global

Request body

messagestring required

Example request

{
  "message": "This is a notification message"
}

Response

Notification created successfully

statusstring
messagestring
status_codeinteger

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"
      }
    ]
  }
}