Sign in

Create asset track

documented

Add a track (video/audio/subtitle) to an asset.

POST /video/v1/assets/{ASSET_ID}/tracksVideo APIno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.mux.com/video/v1/assets/{{$asset_id}}/tracks" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{ "url": "{{$url}}", "type": "{{$type}}", "text_type": "{{$text_type}}", "language_code": "{{$language_code}}", "name": "{{$name}}", "closed_captions": {{$closed_captions}}, "passthrough": "{{$passthrough}}" }' \
  -u "{{MUX_API_KEY}}:{{MUX_SECRET}}"
Create asset track · Mux · OpenIntegrations