Ingest and transcode a video asset via the Mux API and retrieve a playback URL

domain: mux · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate using HTTP Basic auth with your Mux token ID as username and token secret as password
  2. POST to /video/v1/assets with a JSON body containing input[0].url pointing to a publicly accessible source video URL
  3. Poll GET /video/v1/assets/{ASSET_ID} or listen for the video.asset.ready webhook event until status transitions from 'preparing' to 'ready'
  4. Retrieve the playback_ids array from the asset response; use the id field to construct the HLS URL: https://stream.mux.com/{PLAYBACK_ID}.m3u8
  5. For signed playback, create a signing key via /video/v1/signing-keys, sign a JWT with the playback ID as the sub claim and an expiry, and append ?token=YOUR_JWT to the stream URL

Known gotchas

Related routes

Create a Mux direct upload and retrieve a playback ID
docs.mux.com · 6 steps · unrated
Create a Mux live stream with RTMPS ingest and retrieve stream key
docs.mux.com · 6 steps · unrated
Generate static MP4/M4A renditions of a Mux video asset for download
mux.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans