notifications

Create a new notification

Changed on
post/notifications/

Request

  • The document declares no server URL.
  • Auth: API key in header Authorization

Request body

idstring uuid required
resource_controllerstring required
resource_actionstring required
resource_uuidstring uuid nullable
status'nothing_happened' | 'got_notification' | 'viewed_notification' | 'opened_notification'
  • nothing_happened - Nothing Happened
  • got_notification - User Got Notification
  • viewed_notification - User Viewed Notification
  • opened_notification - User Opened Notification
descriptionstring nullable
messagestring nullable
message_type'success' | 'failed' | 'warning' | 'pending'
  • success - Success
  • failed - Failed
  • warning - Warning
  • pending - Pending
created_atstring date-time required

Response

idstring uuid required
resource_controllerstring required
resource_actionstring required
resource_uuidstring uuid nullable
status'nothing_happened' | 'got_notification' | 'viewed_notification' | 'opened_notification'
  • nothing_happened - Nothing Happened
  • got_notification - User Got Notification
  • viewed_notification - User Viewed Notification
  • opened_notification - User Opened Notification
descriptionstring nullable
messagestring nullable
message_type'success' | 'failed' | 'warning' | 'pending'
  • success - Success
  • failed - Failed
  • warning - Warning
  • pending - Pending
created_atstring date-time required

Changes

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status