Skip to main content
The Browserbase 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

  • builds
    • completed (builds.completed)
    • failed (builds.failed)
    • running (builds.running)
  • invocations
    • completed (invocations.completed)
    • failed (invocations.failed)
    • pending (invocations.pending)
    • running (invocations.running)

HTTP handler setup

app/api/webhook/route.ts

Events

Builds

Completed

builds.completed A Function build finished successfully. Payload
webhookHooks example

Failed

builds.failed A Function build failed. Payload
webhookHooks example

Running

builds.running A Function build started. Payload
webhookHooks example

Invocations

Completed

invocations.completed A Function invocation finished successfully. Payload
webhookHooks example

Failed

invocations.failed A Function invocation failed. Payload
webhookHooks example

Pending

invocations.pending Browserbase accepted and queued a Function invocation. Payload
webhookHooks example

Running

invocations.running A Function invocation started. Payload
webhookHooks example