webhooks.sentry() verifies the HMAC-SHA256 signature Sentry sends in sentry-hook-signature on every request.
/trigger/sentry.ts
header.sentry-hook-resource.
Set up Sentry
- Start
trigger devor deploy, then copy the endpoint’s Webhook URL from the Webhooks page. - In Sentry, open Settings > Developer Settings > Custom Integrations and create an internal integration. Set its Webhook URL to the webhook URL, turn on alert rule action if you want alerts, and enable the resource types (such as issue, error or comment) your subscribers need.
- Sentry signs webhooks with the integration’s Client Secret. Copy it from the integration’s page, then choose Set signing secret on the Trigger.dev endpoint.
- Send a test event from Sentry, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.

