Videos
Receiving your Videos

Receiving Videos

When you create a dynamic video using our API, the video rendering process is asynchronous. This means that you'll need to set up a webhook to receive the video once it's ready. Here's how the process works:

  1. You create a video using the Create a Video endpoint.
  2. You receive an immediate response with a renderId and status: "pending".
  3. Once the video is ready, we'll send a POST request to your webhook URL with the video details.

Webhook Payload

When the video is ready, you'll receive a POST request to your webhook URL with the following payload:

{
    "status": "success",
    "videoUrl": "https://assets.krumzi.com/videos/1234567890.mp4",
    "renderId": "render_12345abcde",
    "templateId": "template_12345abcde"
}
FieldTypeDescription
statusstringThe status of the video render. Will be "success" for completed videos.
videoUrlstringThe URL where you can download the completed video.
renderIdstringThe unique identifier for this render job.
templateIdstringThe ID of the template used to create this video.

Setting Up Webhooks

To receive video completion notifications, you need to subscribe to webhooks for specific templates. See the following pages for details: