Send alerts
Update an alert rule
Changed onUpdates the specified alert rule. Include only the fields you want to change. Changing a rule starts its alerts over, so a domain that's still past the new threshold gets a new alert.triggered notification.
put/v3/alerts/send/{rule_id}
Request
- Base URLhttps://api.us.nylas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"metric": "bounce_rate",
"threshold": 5,
"window_hours": 1,
"min_volume": 50
}Response
Success. Returns the alert rule.
Example response
{
"data": {
"id": "8069c06e-a4c0-4bfa-9535-0f286575cc0e",
"application_id": "26302083-12ae-4f38-91fe-6cba93da03ee",
"metric": "bounce_rate",
"direction": "above",
"threshold": 5,
"window_hours": 1,
"min_volume": 50,
"created_at": 1792785235,
"updated_at": 1792785235
}
}Changes
- info
endpoint added
- info