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).
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Cloudflare Zero Trust PII Read Notifications Write Notifications Read Account Settings Write Account Settings Read
The account id
Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339.
Page number of paginated results.
Number of items per page.
Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339.
Whether the API call was successful
Domain types
Policies
alerting.policies
Methods
Creates a new Notification policy.
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.