Add notification.
Path Parameters
level*string
Value in
"info" | "notice" | "warning" | "error" | "success"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://loading/activity/notifications/info" \ -H "Content-Type: application/json" \ -d '{ "message": "Info message", "context": { "code": 10 } }'{
"message": "success"
}{
"message": "Validation failed",
"errors": {
"message": "This value should not be blank."
}
}{
"message": "Notifications rate limit exceeded."
}How is this guide?