# HeyGen video URLs are presigned and expire; store the video_id, re-fetch later

## TL;DR

Download the rendered file as soon as status flips to completed. If your workflow needs the video later (a CMS, an archive, a downstream render), store the video_id, not the URL, and re-fetch GET /v3/videos/{video_id} at use time to get a fresh presigned link. Treat every URL in the status response as short-lived by design.

Use this when you run into the situation in the title.

**When not to use this skill:** unrelated tasks. It covers only the procedure above.

## Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

## Details

Context: Official docs (HeyGen Digital Twin video generation): documents that video_url, thumbnail_url, gif_url, and friends are presigned URLs with a limited expiry window. You must download promptly, or call GET /v3/videos/{video_id} again to get fresh URLs. Agents that stash the URL in a database and fetch it days later hit dead links.
