- API reference
- Send alerts
- Return an alert rule
https://api.us.nylas.com/v3/alerts/send/{rule_id}Return an alert rule
Returns the specified alert rule.
Works with an API key or an IAM API key with the send_alerts.read permission.
dataobjectA rule that sends an alert.triggered webhook when a sending domain's rate crosses a threshold.
"26302083-12ae-4f38-91fe-6cba93da03ee"metricstringThe rate the rule watches. bounce_rate is hard bounces as a percentage of sent messages,
complaint_rate is complaints as a percentage of complaint-eligible messages, and
delivery_rate is delivered messages as a percentage of sent messages.
"bounce_rate"directionstringWhether the rule fires when the rate goes above or below the threshold. Set by the metric:
above for bounce_rate and complaint_rate, below for delivery_rate.
"above"min_volumeintegerThe minimum number of messages a sending domain must send in the window before the rule can fire.
501792785235Forbidden. The request used a grant access token, or an API key that doesn't have the required permission. These endpoints need your application's API key.