Route & Handler Surface
@sentry/junior/handler
Section titled “@sentry/junior/handler”Route this in app/api/[...path]/route.ts.
Handled GET routes:
/api/health/api/oauth/callback/:provider
Handled POST routes:
/api/webhooks/:platform(Slack path is/api/webhooks/slack)/api/queue/callback
Expected behavior
Section titled “Expected behavior”- Unknown routes return
404. - Queue callback validates queue topic and processes thread work.
- Webhook handler logs and surfaces non-success behavior for operators.
Next step
Section titled “Next step”Use Verify & Troubleshoot to validate these routes in your deployment, then inspect generated signatures in API Reference Guide.