POST
/
notifications
Error
A valid request URL is required to generate request examples
{
  "total": 123,
  "limit": 123,
  "page": 123,
  "pages": 123,
  "nextPage": "<string>",
  "prevPage": "<string>",
  "items": [
    {
      "notification_topic": "EVENT",
      "id": 123,
      "title": "<string>",
      "body": "<string>",
      "action_url": "<string>",
      "is_read": true,
      "sent_at": "2023-11-07T05:31:56Z",
      "date_created": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Copy your Cognito JWT Token below: 'Bearer <JWT>'

Body

application/json
username
string
required

User's email to send the notification to.

action_url
string
required

Notification action url

notification_topic
enum<string>

The notification topic

Available options:
EVENT,
CAMPAIGN,
GENERAL,
ALERT,
INTEGRATION
Example:

"EVENT"

title
string

Notification title or subject if template_name was not specified and send_email was true

body
string

Notification body

template_name
string

SES email template name

template_data
object

SES email template data

send_email
boolean

Response

Success

total
integer

Total number of results

limit
integer

Number of items per page of results

page
integer

Number of this page of results

pages
integer

Total number of pages of results

nextPage
string

Relative uri of next page or null if not valid

prevPage
string

Relative uri of prev page or null if not valid

items
object[]