get
https://api.heygen.com/v2/video_translate/caption
Retrieves the caption file for a translated video.
Note:
- The
caption_urlfield returns a time-limited link that expire after 7 days. The caption file itself does not expire, only the link does. To ensure continuous access, you have two options:
- Download the File: Save the caption file locally within the 7-day window.
- Regenerate the URL: Call the endpoint again whenever you need to access the caption file. Each time you call the endpoint, the
Expiresand related query parameters in the URL are regenerated, reflecting the new expiration time.- Scroll down to the Response section below and expand the status code(s) to view the detailed response schema.
- Refer to the RESPONSE section on the right and choose an example to see how the API response appears for each status code.
