Webhook events

workflow_run.succeeded

Delivered when a workflow run completes successfully.

postWebhookworkflow_run.succeeded

Payload

event'workflow_run.succeeded' | 'workflow_run.failed' | 'workflow_run.cancelled' required

Lifecycle events emitted for workflow runs started via the developer API.

workflowRunIdstring required

Opaque workflow run id matching the original request.

occurredAtinteger required

Seconds since epoch (Unix timestamp) at which VideoGen observed the terminal state.

workflowType'SCRIPT_TO_VIDEO' | 'VOICEOVER_TO_VIDEO' | 'SLIDESHOW_TO_VIDEO' | 'STORYBOARD_TO_VIDEO' | 'PROMPT_TO_VIDEO_CLIP' | 'CREATIVE_BRIEF_TO_VIDEO' required

Workflow type identifier.

projectIdstring required

Id of the project created for this workflow run (e.g. vg_proj_...).

projectUrlstring uri required

Deep link to open this project in the VideoGen web editor. Not required for an API-only integration: store projectId and use the Projects API (export, remix, metadata). Use projectUrl when a person should open the project in the app to review or edit it manually. The project is visible only to members of your team and any project collaborators, the same access model as a project created in the dashboard.

Response

Acknowledge receipt

Changes