VideoGen sends events to your registered webhook endpoints when asynchronous work completes. There are two categories of events:
All events are delivered as POST requests with a JSON body. Every payload includes:
Deliveries follow the Standard Webhooks spec. Each request includes three headers:
Both SDKs ship a verifyWebhookSignature helper:
The helpers throw if the signature is invalid or the timestamp is too old.
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.
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.