Alerting
alerting
Available Alerts
alerting.available_alerts
Methods
Gets a list of all alert types for which an account is eligible.
Destinations
alerting.destinations
alerting.destinations.eligible
Methods
Get a list of all delivery mechanism types for which an account is eligible.
alerting.destinations.pagerduty
Methods
Creates a new token for integrating with PagerDuty.
Deletes all the PagerDuty Services connected to the account.
Get a list of all configured PagerDuty services.
Links PagerDuty with the account using the integration token.
Domain types
alerting.destinations.webhooks
Methods
Creates a new webhook destination.
Delete a configured webhook destination.
Get details for a single webhooks destination.
Gets a list of all configured webhook destinations.
Update a webhook destination.
Domain types
History
alerting.history
Methods
Gets a list of history records for notifications sent to an account. The records are displayed for last x
number of days based on the zone plan (free = 30, pro = 30, biz = 30, ent = 90).
Domain types
Policies
alerting.policies
Methods
Creates a new Notification policy.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Notifications Write Account Settings Write
The account id
Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
Whether or not the Notification policy is enabled.
List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.
Name of the policy.
Optional specification of how often to re-alert from the same incident, not support on all alert types.
Optional description for the Notification policy.
Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.
Whether the API call was successful
Delete a Notification policy.
Get details for a single policy.
Get a list of all Notification policies.
Update a Notification policy.
Domain types
List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.
Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.