API Documentation
Webhook Integration
Webhooks allow you to receive real-time notifications when video renders are completed or failed. Instead of polling our API, webhooks will send HTTP requests to your server when these events occur..
Events
The following webhook events are available:
render.completed
: Triggered when a video render completes successfullyrender.failed
: Triggered when a video render fails
Setting up Webhooks
1. Create a Webhook Endpoint
First, create an endpoint on your server to receive webhook events. The endpoint should be publicly accessible.
2. Register the Webhook
Register the webhook using the dashboard. Go to dashboard in the webhook panel and add your webhook endpoint.
Webhook Payload
When an event occurs, you’ll receive a POST request with the following payload structure:
Security
Verifying Webhook Signatures
To ensure the webhook request came from us, we include a signature in the X-Signature
header. Here’s how to verify it:
Best Practices
- Always verify the webhook signature
- Handle duplicate events (use the render ID as an idempotency key)
- Store your webhook secret securely