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

  • sandboxes
    • archived (sandboxes.archived)
    • degraded (sandboxes.degraded)
    • error (sandboxes.error)
    • hydrated (sandboxes.hydrated)
    • ready (sandboxes.ready)
    • recovered (sandboxes.recovered)

HTTP handler setup

app/api/webhook/route.ts

Events

Sandboxes

Archived

sandboxes.archived A sandbox stopped; the API reports a stopped sandbox as archived (sandbox.archived). Payload
webhookHooks example

Degraded

sandboxes.degraded The machine is alive but Boat cannot fully reach it; data.reason says why (sandbox.degraded). Payload
webhookHooks example

Error

sandboxes.error A sandbox entered the error state (sandbox.error). Payload
webhookHooks example

Hydrated

sandboxes.hydrated A restored sandbox finished copying its disk and Docker volumes into place, after sandbox.ready (sandbox.hydrated). Payload
webhookHooks example

Ready

sandboxes.ready A sandbox became usable (ready, idle or running) after it was not, including after an error (sandbox.ready). Payload
webhookHooks example

Recovered

sandboxes.recovered A degraded sandbox is fully reachable again (sandbox.recovered). Payload
webhookHooks example