Integrations / Content

Mux

Look up video assets, direct uploads and live streams, create upload URLs, update asset metadata, and trigger workflows from Mux Video events.

10 tools 18 trigger events

Tools

mux.list_assets

List video assets, newest first, optionally only those recorded from a live stream.

limitlive_stream_idcursor

mux.get_asset

Get a video asset by ID, e.g. lJ4bGGsp7ZlPf02nMg015W02iHQLN9XnuuLRBsPS00xqd68, with its status, duration, playback IDs and tracks.

asset_id*

mux.update_asset writes

Update an asset's passthrough value or its title, creator ID and external ID metadata.

asset_id*passthroughtitlecreator_idexternal_id

mux.create_asset writes

Create a video asset from a video file at a public URL, which Mux downloads and processes. Asset IDs look like lJ4bGGsp7ZlPf02nMg015W02iHQLN9XnuuLRBsPS00xqd68.

url*playback_policiesvideo_qualitymax_resolution_tierpassthroughtitleexternal_idtest

mux.create_direct_upload writes

Create a signed URL a client can upload a video file to, which becomes a new asset.

cors_originplayback_policiespassthroughtimeout

mux.get_direct_upload

Get a direct upload by ID with its status and the ID of the asset it created.

upload_id*

mux.list_live_streams

List live streams, optionally only those with a given status.

statuslimit

mux.get_live_stream

Get a live stream by ID, e.g. ZEBrNTpHC02iUah025KM3te6ylM7W4S4silsrFtUkn3Ag, with its status and recent assets.

live_stream_id*

mux.api_get

Send a GET request to any Mux API path under https://api.mux.com and return the response. For endpoints the named tools don't cover.

path*params

mux.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Mux API path under https://api.mux.com.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Mux API path.

Connect

  1. In the Mux Dashboard, open Settings → Access Tokens and create a token for the environment your workflows use, with Mux Video read access, plus write access if workflows create uploads or update assets.
  2. Paste the token ID and token secret on the connection.
  3. To trigger workflows, add a webhook under Settings → Webhooks for the same environment with the URL shown on the connection page, and paste its signing secret on the connection.

Credentials

Access token ID Access token secret Webhook signing secret

Mux API docs

Triggers

In the Mux Dashboard, go to Settings → Webhooks, pick the environment, create a webhook with this URL, and paste its signing secret on this connection.

Events

video.asset.createdvideo.asset.readyvideo.asset.erroredvideo.asset.updatedvideo.asset.deletedvideo.asset.live_stream_completedvideo.asset.static_rendition.readyvideo.asset.track.readyvideo.asset.warningvideo.upload.asset_createdvideo.upload.cancelledvideo.upload.erroredvideo.live_stream.connectedvideo.live_stream.recordingvideo.live_stream.activevideo.live_stream.disconnectedvideo.live_stream.idlevideo.live_stream.warning
trigger
kind: mux connection: mux events: [video.asset.created] environments: [...]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.