Create assets for direct upload provider/exhibitor streaming/lobby streaming

Create direct upload ID & direct upload URL for session / exhibitor / lobby. For direct upload session/exhibitor/lobby, first, you need to create direct upload assets on MUX. To do this you need to call this API which will prepare direct upload assets on MUX and will return directUploadId and directUploadUrl in response.

directUploadId is a unique reference to uploaded video, and it can be used to get further details about created assets to check this API (

directUploadUrl is an endpoint where the uploaded video will be stored and used by MUX. Once assets are prepared using this API in the next step, you need to upload a video ( to directUploadUrl for streaming.

To call this API you need to send sessionId as path parameters.

For creating direct upload assets for exhibitor/lobby users, need to pass 0 as sessionId in the path parameter in this API.

This API can be used by authenticated users only, and it will require super admin/admin/staff level access.

Here is the description of response attributes, which returns to the form of JSON.

directUploadId Unique identifier for the Direct Upload.
directUploadUrl The URL to upload the associated source media to.

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
4030201Not Event Host
4044003Mux live stream can not create upload url.
Click Try It! to start a request and see the response here!