Skip to content

Notification

Juniper Connect facilitates a global notification system which allows users to be notified of events that occur in the system. Notifications appear on the Juniper omni-bar at the top of every application.

Generating Notifications

Notifications are generated by sending a POST request to the /notifications endpoint. The request body should be a JSON object with the following fields:

{
    "recipient" : "user_live_A7D8C9AS0DV11",
    "title": "The title of the notification",
    "body": "The body of the notification",
    "url": "https://app.juniper.online/deep-link/resource/{id}",
    "icon": "https://app.juniper.online/img/icon.png",
    "type": "info",
    "valid_until" : null
}