Create alert
documentedCreate a new alert (e.g., stats notification or usage alert).
POST /v3/alertsAlertsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.sendgrid.com/v3/alerts" \
-X POST \
-H "Authorization: Bearer {{SENDGRID_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"type": "{{$type}}", "email_to": "{{$email_to}}", "frequency": "{{$frequency}}", "percentage": {{$percentage}}}'