Skip to main content
webhooks.pagerduty() verifies the HMAC-SHA256 signature PagerDuty sends in x-pagerduty-signature on every request.
/trigger/pagerduty.ts

Set up PagerDuty

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. In PagerDuty, open Integrations > Generic Webhooks (v3) and choose New Webhook. Enter the webhook URL and select the event types your subscribers need.
  3. PagerDuty shows the webhook’s signing secret once, when the webhook is created. Copy it then, and choose Set signing secret on the Trigger.dev endpoint.
  4. Send a test event from PagerDuty, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.