Bunny.net · AsyncAPI Specification
Bunny.net Stream Webhooks
Version 1.0.0
AsyncAPI definition of the Bunny Stream webhook surface. Bunny Stream sends a signed HTTP POST callback to the `WebhookUrl` configured on a Video Library whenever the state of a video changes (upload, encoding, captions, AI-generated metadata, pre-signed uploads). A single payload schema is used for every event; the event type is determined by the integer `Status` field. Only Bunny Stream exposes a documented webhook surface. The Core Platform API, Pull Zones, Edge Storage, DNS, Shield, Optimizer, Scripting / Magic Containers, Purge, Statistics, Billing, and API Keys APIs do not publish webhook callbacks at the time of writing.
View Spec
View on GitHub
CDNEdgeVideoStorageDNSWAFEdge ComputeImage OptimizationAsyncAPIWebhooksEvents
Channels
stream/video/state-changed
Receive a Bunny Stream video state-change webhook.
Receives all Bunny Stream video state-change notifications for a single Video Library. The same channel delivers every event type; consumers branch on the integer `Status` field of the payload.
Messages
VideoStateChanged
Bunny Stream Video State Changed
Notification that a Bunny Stream video has transitioned to a new processing state.
Servers
https
subscriber
{webhookUrl}
The consumer-hosted HTTPS endpoint registered in the `WebhookUrl` field of a Bunny Stream Video Library. Bunny Stream sends an HTTP POST to this URL for every video state transition.