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

  • run
    • cancelled (run.cancelled)
    • completed (run.completed)
    • failed (run.failed)

HTTP handler setup

app/api/webhook/route.ts

Events

Run

Cancelled

run.cancelled A run reached CANCELLED Payload
webhookHooks example

Completed

run.completed A run reached COMPLETED with its results attached Payload
webhookHooks example

Failed

run.failed A run reached FAILED with its error attached Payload
webhookHooks example