Last updated 1 day ago
Was this helpful?
The ID of the caption.
GET /api/public/v1/caption_files/{caption_file_id}/download HTTP/1.1 Host: tw.instructuremedia.com Authorization: YOUR_API_KEY Accept: */*
The caption file itself
No content
The ID of the media.
GET /api/public/v1/media/{media_id}/caption_files HTTP/1.1 Host: tw.instructuremedia.com Authorization: YOUR_API_KEY Accept: */*
The list of captions that are available for the media.
{ "caption_files": [ { "id": 1, "url": "text", "srclang": "text", "subtitle_format": "text", "label": "text", "status": "text", "created_at": "2025-05-16T02:09:06.414Z" } ] }
The language of the caption.
POST /api/public/v1/media/{media_id}/caption_files HTTP/1.1 Host: tw.instructuremedia.com Authorization: YOUR_API_KEY Content-Type: multipart/form-data Accept: */* Content-Length: 100 { "{:name=>:caption_file, :description=>\"The file to be uploaded.\", :schema=>{:type=>:file}}": null }
The caption object that was created.
{ "caption_file": { "id": 1, "url": "text", "srclang": "text", "subtitle_format": "text", "label": "text", "status": "text", "created_at": "2025-05-16T02:09:06.414Z" } }