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
Response data full type
Response data full type
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
Response data full type
Response data full type
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
Response data full type
Response data full type
webhookHooks example