We are often asked about webhooks and if Shotstack uses them. And the answer to that is yes, we do. We know that time is of the essence when creating and distributing videos, especially at scale and we’ve put together the guide below to give you an overview of what a webhook is and how to use them, if you haven’t before.
As developers in the video space, we often require real-time communication between various applications and services to create seamless experiences for our users. Webhooks are an essential tool for achieving this goal, allowing instant notifications and actions to be triggered by specific events. In this blog post, we'll explore what webhooks are, how they work, and dive into some practical use cases tailored specifically for video applications.
Webhooks are user-defined HTTP callbacks that facilitate real-time communication between applications. They enable one application to send an automatic message, or "payload", to another application when a specific event occurs. By using webhooks, applications can receive instant notifications without the need for constant polling or repeated API queries.
Webhooks follow a simple yet effective process:
Webhooks can play a significant role in enhancing video applications. Some use cases specific to the video domain include:
When working with webhooks in video applications, it's crucial to implement appropriate security measures to protect your data and infrastructure. Some best practices include:
Webhooks offer a powerful solution for real-time communication in video applications, enabling instant notifications and actions based on specific events. By understanding how webhooks work and implementing them with security best practices in mind, you can enhance your video applications and create more engaging experiences for your users.
Sign up for your Shotstack account now and create thousands of bespoke, data-driven videos in minutes.
Every month we share articles like this one to keep you up to speed with automated video editing.
Generate and personalize videos at scale using the Edit API templates endpoint.
The AWS S3 integration is now available. Seamlessly connect your S3 buckets to edit and export rendered videos using the Shotstack API.
The JSON template editor lets you edit and render videos in the dashboard.