capabilities.work

Upload and Update a Caption Track

A 2-step recipe with YouTube. We can help you get access.

Recipe · 2 steps

Upload and Update a Caption Track

with YouTube · Localisation & Versioning Management

Insert a draft caption track and then publish it.

  1. Upload the caption track as a draft and capture its id.
  2. Update the caption track to clear the draft flag so it becomes visible.
What you'll need to have ready
  • apiKey: The Google API key used to authorize each YouTube Data API request.
  • videoId: The id of the video the caption track belongs to.
  • language: The BCP-47 language code of the caption track.
  • name: The display name of the caption track.
For your developer

Arazzo workflow youtube:upload-update-caption, 2 operations: youtube.captions.insert → youtube.captions.update. Specs on APIs.io.