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

  • render (render)
  • serve (serve)
  • source (source)

HTTP handler setup

app/api/webhook/route.ts

Events

Render

Render

render A render (renders.create or templates.render with a callback URL) finished: status done or failed, with the output URL. Checked against the API, since Shotstack does not sign callbacks. Payload
webhookHooks example

Serve

Serve

serve The hosting copy of a render output is ready on the Shotstack CDN (sent with render callbacks): the durable CDN URL and the render id. Checked against the API. Payload
webhookHooks example

Source

Source

source A source fetch (sources.fetch with a callback URL) finished: status ready or failed, with the ingested file URL. Checked against the API. Payload
webhookHooks example