sev-1
incidents. Both steps need notifications:write. Reading deliveries needs notifications:read.
You need a PagerDuty service with an Events API V2 integration. Put its integration key in an
environment variable, so that it does not appear in your shell history or in a prompt:
Add the destination
- CLI
- MCP
- REST API
id:
severityMap to config, for example
{ "sev-1": "critical", "sev-2": "critical" }. See PagerDuty.
Add the route
The route matchessev-1 incidents. Its events list adds acknowledged, so that PagerDuty
acknowledges the alert too. Without events, a route sends only opened and resolved.
- CLI
- MCP
- REST API
squasher notifications routes set-destinations.
Check the deliveries
Every delivery attempt is recorded with its status code.squasher notifications destinations test DESTINATION_ID
sends a test event. Then read the recent deliveries:
- CLI
- MCP
- REST API
success: false and an errorMessage:
squasher notifications routes delete ROUTE_ID --yes and
squasher notifications destinations delete DESTINATION_ID --yes.
Next steps
PagerDuty
What Squasher sends and how severities map.
Notifications API
Every destination type and route field.