Notification Rules

The Notification Rule Object

Create a Notification Rule

POST https://api.pagertree.com/api/v4/notification_rules

Allowed Parameters

def notification_rule_params
  params.permit(
    :name,
    :enabled,
    :rules
  )
end

Required Parameters

  • name

Retrieve a Notification Rule

GET https://api.pagertree.com/api/v4/notification_rules/:id

Update a Notification Rule

PUT https://api.pagertree.com/api/v4/notification_rules/:id

Delete a Notification Rule

DELETE https://api.pagertree.com/api/v4/notification_rules/:id

List all Notification Rules

GET https://api.pagertree.com/api/v4/notification_rules

Last updated