Skip to navigation
Webhook eventsWebhook Events

workflow_run.succeeded

Delivered when a workflow run completes successfully.

Payload

The payload of this webhook request is an object.
eventenumRequired
Lifecycle events emitted for workflow runs started via the developer API.
Allowed values:
workflowRunIdstringRequired
Opaque workflow run id matching the original request.
occurredAtintegerRequired

Seconds since epoch (Unix timestamp) when this outcome occurred.

workflowTypeenumRequired
Workflow type identifier.
projectIdstringRequired

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

projectUrlstringRequiredformat: "uri"

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.

exportIdstring or nullRequired

Opaque export id (e.g. vg_expo_...) when this run was started with autoExport: true and the export succeeded. Always present as a field; null otherwise.

downloadUrlstring or nullRequiredformat: "uri"

Private signed MP4 download URL when autoExport succeeded. Always present as a field; null otherwise.

downloadUrlExpiresAtinteger or nullRequired

Seconds since epoch (Unix timestamp) when downloadUrl expires. null while downloadUrl is null.

thumbnailUrlstring or nullRequiredformat: "uri"

Private signed thumbnail URL when autoExport succeeded. Always present as a field; null otherwise.

thumbnailUrlExpiresAtinteger or nullRequired

Seconds since epoch (Unix timestamp) when thumbnailUrl expires. null while thumbnailUrl is null.

exportFileIdstring or nullRequired

File id (e.g. vg_file_...) of the rendered MP4 when autoExport succeeded. Always present as a field; null otherwise.

errorobject or nullOptional

Error details. Present (non-null) only on workflow_run.failed; null otherwise.

Response

200
Acknowledge receipt