Notification
Manage the system notifications
Method & Permission
API
GET
POST
PUT
PATCH
DELETE
Organization List
User
User
-
-
-
Organization Detail
User
-
-
User
User
Notification List
GET
/notifications/notification/list/{level}/{sid}/{serializer}/
Get a list of notifications. You only get the notifications that sent to you.
Path Parameters
level
string
organization
sid
string
organization sid
serializer
string
list or detail
Headers
string
Notification List
POST
/notifications/notification/list/{level}/{sid}/{serializer}/
Create a new notification
Path Parameters
level
string
sid
string
serializer
string
Headers
token
string
Request Body
to
array
[{sid:"", name:""}], array of personnel to receive the notification
name
string
body
string
the message of the notification
parent
object
{sid:"", name:""} of a parent notificaiton
should_email
boolean
Should send an email regardless of the user's email settings
Notification Detail
GET
/notifications/notification/detail/{sid}/
The view of notification will make this notification is_read=True.
Path Parameters
sid
string
Headers
token
string
Notification Detail
PATCH
/notifications/notification/detail/{sid}/
Path Parameters
sid
string
Headers
token
string
Notification Detail
DELETE
/notifications/notification/detail/{sid}/
Path Parameters
sid
string
Headers
token
string
Last updated