Webhooks integration
Subscribe an endpoint to ShortGenius webhooks and receive signed, real-time events when videos, images, audio, and series are created, completed, or published — so your app reacts instantly instead of polling.
Webhooks let ShortGenius push lifecycle events to your own endpoint as they happen, instead of you repeatedly polling the API. When you create a webhook endpoint, you choose which events to subscribe to and receive a signing secret. From then on, ShortGenius sends a JSON payload to your URL whenever a subscribed event fires — video.created, video.completed, video.published, series.created, image.completed, or audio.completed — letting you trigger downstream automations the instant media is ready.
Once Webhooks is connected, you can drive ShortGenius with plain-language prompts.
Create an endpoint, then verify the signature on every delivery.
Register a URL via the API, CLI, or a connector. The signing secret (whsec_…) is returned once — store it.
shortgenius webhooks create --url https://example.com/hooks --events "video.completed"
ShortGenius POSTs a JSON event { id, type, created, data } to your URL for each subscribed event.
Each delivery carries a ShortGenius-Signature header (t=<unix>,v1=<hex>). Compute HMAC-SHA256 of `${t}.${rawBody}` with your secret, compare in constant time, and reject if it differs or t is older than 5 minutes.
Return a 2xx status quickly. Failed deliveries are retried with exponential backoff.
Frequently Asked Questions
You can subscribe to six lifecycle events: video.created, video.completed, video.published, series.created, image.completed, and audio.completed. Each endpoint chooses exactly which of these it wants to receive.
Create a free account and generate an API key to get started in minutes.