Video processing has completed successfully for all resolutions selected, and you can now store the videoId for when you need to retrieve the urls to the video resolutions at runtime. If your video is a public video you can simply store the urls provided in the event data object as you will not need to retrieve a signed url at runtime.
Webhook payload
| Name | Type | Required | Description |
|---|
| webhookName | string | Yes | The name of the webhook |
| videoId | string | Yes | The ID of the video |
| event | video-processing-success | Yes | The event that triggered the webhook |
| customMetadata | Json | No | Custom metadata passed by the user to be associated with the create video api call |
| data | Object | Yes | The response data from the video creation (see below) |
Webhook data object
| Name | Type | Required | Description |
|---|
| id | string | Yes | The ID of the video |
| isPublic | boolean | Yes | Whether the video is public or not |
| resolutions | object | Yes | The video resolutions data (object) |
Webhook resolutions object
| Name | Type | Required | Description |
|---|
| status | string | Yes | The status of the video resolution. Possible values: pending, ready, fail |
| video_url | string | No | The URL of the video resolution |
| thumbnail_image_urls | string[] | No | The URLs of the video resolution thumbnails |