Webhook
A webhook is an automatic message one system sends to another over HTTP when a specific event happens, such as a video finishing processing. Instead of an app repeatedly asking a server whether something is ready, the server notifies the app at a set URL. It is like getting a text when your order ships instead of checking the tracking page.
Why it matters
Webhooks let video workflows run on their own, without wasted checks or manual steps. When processing finishes, the next action, such as publishing or emailing a creator, starts at once. Missed or fake webhooks, however, can leave videos stuck or trigger actions that should not happen.
How it works
- The app registers a URL with the service and picks which events it wants to hear about.
- When an event happens, such as a video becoming ready, the service sends an HTTP POST to that URL.
- The message carries details in JSON, such as the event type and the video's ID.
- The app checks the message's signature to confirm it really came from the service.
- The app replies with a success code and then runs its own next step.
Webhook vs API: what is the difference?
An API is something your app calls when it wants information, while a webhook is the service calling your app when something happens. With an API alone, your app must keep asking whether a video is ready, which is called polling. With a webhook, the service tells you the moment it is ready. Most video integrations use both.
How do you secure a webhook?
You secure a webhook mainly by verifying its signature. The sender signs each message with a shared secret, often using HMAC SHA-256, and your app recomputes the signature to confirm it matches. Also use HTTPS, reject old timestamps to block replays, and handle repeated deliveries safely so one event is not processed twice.
Where it's used
SaaS products, OTT services and creator apps use webhooks to get an automatic alert when a video finishes processing or a live stream starts, so the next step happens on its own.
Where it usually goes wrong, and how FastPix handles it
Teams often poll an API on a timer to see if a video is ready, wasting requests and adding delay. Others accept webhooks without checking signatures, so forged messages could trigger real actions.
FastPix sends webhooks such as video.media.ready when media is ready to play. Each webhook is signed with HMAC SHA-256, so the receiving app can verify it came from FastPix before acting on it. Publishing starts the moment a video is ready, and your app can reject forged messages before they trigger anything.
By the numbers
- The term webhook was coined by Jeff Lindsay in 2007. (Webhook (Wikipedia))


