Skip to main content
The Sentry plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • alerts
    • eventAlert (alerts.eventAlert)
    • metricAlert (alerts.metricAlert)
  • comments
    • created (comments.created)
    • deleted (comments.deleted)
    • updated (comments.updated)
  • errors
    • created (errors.created)
  • issues
    • assigned (issues.assigned)
    • created (issues.created)
    • resolved (issues.resolved)

HTTP handler setup

app/api/webhook/route.ts

Events

Alerts

Event Alert

alerts.eventAlert An issue alert rule was triggered Payload
webhookHooks example

Metric Alert

alerts.metricAlert A metric alert was triggered Payload
webhookHooks example

Comments

Created

comments.created A comment was added to an issue Payload
webhookHooks example

Deleted

comments.deleted A comment was deleted Payload
webhookHooks example

Updated

comments.updated A comment was updated Payload
webhookHooks example

Errors

Created

errors.created A new error event was captured in Sentry Payload
webhookHooks example

Issues

Assigned

issues.assigned An issue was assigned to a user or team Payload
webhookHooks example

Created

issues.created A new issue was created in Sentry Payload
webhookHooks example

Resolved

issues.resolved An issue was resolved Payload
webhookHooks example