Webhook events
VideoGen sends events to your registered webhook endpoints when asynchronous work completes. There are two categories of events:
Delivery format
All events are delivered as POST requests with a JSON body. Every payload includes:
Signature verification
Deliveries follow the Standard Webhooks spec. Each request includes three headers:
Both SDKs ship a verifyWebhookSignature helper:
TypeScript
Python
The helpers throw if the signature is invalid or the timestamp is too old.
Registering for events
Use the Create webhook endpoint to register a URL and select which events to receive. The signing secret is only returned once on creation — store it securely.
Retry behavior
If your endpoint returns a non-2xx status code or doesn’t respond within 15 seconds, VideoGen will retry with exponential backoff. Use the webhook-id header to deduplicate retries.
Learn more
- Webhooks guide — step-by-step setup, signature verification examples, and file upload webhook details
- Webhook management API — create, list, and delete webhook endpoints programmatically