🔁APIs
Notifications List
Show All notifications of current login user by token
GEThttps://cm.test/api/notifications
Response
Body
success*boolean
message*string
data*string
Request
Response
Clear Notifications
Clear all notifications of current user.
POSThttps://cm.test/api/notifications/clear
Body
object
Response
Body
success*boolean
message*string
data*array of string
Request
Response
Delete Notification
Delete Selected notifications by ID
DELETEhttps://cm.test/api/notifications/{id}/delete
Path parameters
id*string
Body
object
Response
Body
success*boolean
message*string
data*array of string
Request
Response
Make Notification as Read
You can make the selected notification by id flag to be is_read=true
POSThttps://cm.test/api/notifications/{id}/read
Path parameters
id*string
Body
object
Response
Body
success*boolean
message*string
data*array of string
Request
Response
Update Notification Token
update notification token for FCM integration token
POSThttps://cm.test/api/notifications/toggle
Body
tokenstringnull
Response
Body
success*boolean
message*string
body*array of string
Request
Response
Last updated