Alerting
AlertingAvailable Alerts
Get Alert Types
AlertingDestinations
AlertingDestinationsEligible
Get delivery mechanism eligibility
ModelsExpand Collapse
EligibleGetResponse = map[array of { eligible, ready, type } ]
AlertingDestinationsPagerduty
List PagerDuty services
Create PagerDuty integration token
Delete PagerDuty Services
Connect PagerDuty
ModelsExpand Collapse
AlertingDestinationsWebhooks
List webhooks
Get a webhook
Create a webhook
Update a webhook
Delete a webhook
ModelsExpand Collapse
Webhooks { id, created_at, last_failure, 5 more }
Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
Optional secret that will be passed in the cf-webhook-auth header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.
AlertingHistory
List History
AlertingPolicies
List Notification policies
Get a Notification policy
Create a Notification policy
Update a Notification policy
Delete a Notification policy
ModelsExpand Collapse
Policy { id, alert_interval, alert_type, 7 more }
Optional specification of how often to re-alert from the same incident, not support on all alert types.
alert_type: optional "abuse_report_alert" or "access_custom_certificate_expiration_type" or "advanced_ddos_attack_l4_alert" or 66 moreRefers 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.
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.
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.
PolicyFilter { actions, affected_asns, affected_components, 40 more } 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.
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.