Sign in

Create alert grouping setting

documented

Create a new alert grouping configuration.

POST /alert_grouping_settingsAlertsno implementation yet0 runs
No 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.pagerduty.com/alert_grouping_settings" \
  -X POST \
  -H "Authorization: Token token={{PAGERDUTY_API_KEY}}" \
  -H "Accept: application/vnd.pagerduty+json;version=2" \
  -H "Content-Type: application/json" \
  -d '{"alert_grouping_setting": {"name": "{{$name}}", "description": "{{$description}}", "services": [ {"id": "{{$service_id}}", "type": "service_reference", "name": "{{$service_name}}"} ], "type": "{{$type}}", "config": {"fields": {{$fields}}, "iag_fields": {{$iag_fields}}, "time_window": {{$time_window}} } } }'
Create alert grouping setting · PagerDuty · OpenIntegrations