Skip to content

Route & Handler Surface

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
  • Unknown routes return 404.
  • Queue callback validates queue topic and processes thread work.
  • Webhook handler logs and surfaces non-success behavior for operators.

Use Verify & Troubleshoot to validate these routes in your deployment, then inspect generated signatures in API Reference Guide.