Skip to main content
Many tools can send PagerDuty Events API v2 events. Point them at Squasher instead, and a trigger opens a Squasher incident, acknowledge acknowledges it, and resolve resolves it. To send Squasher incidents to PagerDuty, see the PagerDuty destination.

What you need

  • A tool or script that sends Events API v2 events and lets you change the URL.
  • The Squasher CLI, signed in with write access to the project. See Alert sources.

Connect a sender

1

Create the connector

Save setup.endpoint and setup.routing_key from the output. The routing key is the connector secret, not a key from PagerDuty.
2

Send events to Squasher

Set the sender’s events URL to setup.endpoint, and its routing key to setup.routing_key. To test with curl, put the two values in SQUASHER_ALERT_ENDPOINT and SQUASHER_ALERT_SECRET first:
3

Resolve the test incident

Send the same dedup_key with "event_action": "resolve", a full payload, and a later timestamp. Check that the same incident resolves.
Squasher also accepts the secret in an Authorization: Bearer header instead of routing_key.

How Squasher reads an event

Limits

  • Squasher does not create a dedup_key for you. A trigger without one gets 422.
  • Send payload.timestamp on every event, also on acknowledge and resolve. Without it, Squasher builds the event key from the dedup key, the action, and the content. A second event with the same values within 90 days is then treated as a repeat and ignored.
  • When you send a payload with acknowledge or resolve, it must have summary, source, and severity, as on trigger.
  • Squasher does not support the PagerDuty change events API or the older Events API v1.

Next steps

Alert sources

Limits, response codes, and secret rotation.

Route incidents

Send these incidents to Slack, email, Telegram, or a webhook.