Webhooks allow you to receive HTTP callbacks when incidents are triggered and updated. Details about the event are sent to your specified URL, such as Slack or your own custom PagerDuty webhook processor.
- Navigate to Services Service Directory, then click the name of the service you want to add a webhook to.
- Select the Integrations tab, under Extensions and Add-Ons, click Add or manage extensions for this service and then click New Extension.
- For the Extension Type select your webhook type or Generic V2 Webhook.
- Enter a Name for your webhook.
- Enter your endpoint's URL in the Details field.
- Click Save.
To test your webhook, click New Incident on the service to trigger a test incident, and then check your endpoint for updates. We recommend reviewing the webhook PagerDuty sends when an incident triggers. You can do this by using a tool online such as Beeceptor, webhook.site, or postb.in.
Custom headers can be added to outgoing webhook requests, allowing you to input pairs of header names and header values. Up to five custom headers can be added to each webhook. For security purposes, the header values will not be visible and cannot be edited once saved.
- Navigate to Apps & Add-Ons Extensions, then click the icon next to the webhook extension you want to custom headers to, click Edit.
- Click + Add Custom Header.
- Enter the custom header name and header value.
- Click Save.
Updated 2 days ago
You can read more about PagerDuty Webhooks in our Developer Docs here: