Notifications
Create Notification
Create a new Notification for an Event.
This endpoint enables you to create a new Event Notification for the specified Organization. You need to supply a request body with the details of the new Notification.
post/organizations/{orgId}/notifications/configurations
Path parameters
orgIdstring required
The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
Request body
Response
Returns the created Notification
Example response
{
"name": "Commitment has under 10% remaining",
"description": "Commitment amount fell below 10%",
"active": true,
"eventName": "configuration.commitment.updated",
"calculation": "(new.amountSpent >= ((new.amount*90)/100)) \nAND ((old.amountSpent <= ((old.amount*90)/100)) OR (old.amountSpent == null))",
"code": "commitment_under_10_percent"
}