---
updatedAt: 2026-10-31T08:03:05.000Z
agentTools:
  projectIndex: https://developer.accelevents.com/llms.txt
---

# Create stream assets for event lobby or exhibitor Aceelevents RTMP or direct upload stream provider

Generate streaming assets for lobby/exhibitor. Using this API, you can generate `streamKey` & `rtmpUrl` for Aceelevents RTMP or direct upload assets for direct upload stream provider returned in response. 

For Accelevents RTMP combining `streamKey` and `rtmpUrl` you will create a streaming endpoint and configure it within your broadcasting software. For more information, checkout this link, https://docs.mux.com/guides/video/configure-broadcast-software.

**For example:**
If API return below `rtmpUrl` and `streamKey`
**rtmpUrl**: “rtmp://live.mux.com/app”
**streamKey**: “a42ccb8f-dce1-00f8-3552-504d14b43724”
then final endpoint will be rtmp://live.mux.com/app/a42ccb8f-dce1-00f8-3552-504d14b43724. 

For direct upload lobby/exhibitor, first you need to create direct upload assets on MUX and for more details for how to create direct upload assets and use, checkout this link : https://developer.accelevents.com/reference/create-upload-video-url-for-session, and as API response you will get `directUploadId` that you need to pass in current API as body parameter.

User need to pass type for identify stream type EX : LOBBY, EXPO & streamProvider for identify lobby/exhibitor stream provider like : DIRECT_UPLOAD, ACCELEVENTS.

This API can be used by authenticated user only, and it will require super admin/event admin/event staff level access. User need to pass an authentication token as header and type and `streamProvider` as query parameter.

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

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Attribute
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        **streamProvider** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's identify session stream provider, it can be ACCELEVENTS, WISTIA, YOUTUBE, VIMEO, FACEBOOK, ZOOM, DIRECT\_UPLOAD.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **subStreamProvider** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's identify session sub stream provider, it can be VOXEET, CHIME, OPENTOK, AGORA.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **streamUrl** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's a session stream endpoint.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **streamKey** 
      </td>

      <td style={{ textAlign: "left" }}>
        Unique key used for streaming to a Mux RTMP endpoint. This should be considered as sensitive as credentials, anyone with this stream key can begin streaming.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **rtmpUrl** 
      </td>

      <td style={{ textAlign: "left" }}>
        Mux's standard RTMP entry point. Compatible with the majority of streaming applications and services.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **accelEventsStudio** 
      </td>

      <td style={{ textAlign: "left" }}>
        It returns true if stream provider is ACCELEVENTS else false.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **playBackRestrictionToken** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains playback restriction token, which is allows you to set additional rules for playing videos. For instance, viewers can play videos embedded on the [https://example.com](https://example.com) website when you set the Playback Restrictions with example.com as an allowed domain. Any Video requests from other websites are denied.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **thumbnailRestrictionToken** 
      </td>

      <td style={{ textAlign: "left" }}>
        It's contains playback restriction token, which is allows you to set additional rules for thumbnails. For instance, viewers can view thumbnails embedded on the [https://example.com](https://example.com) website when you set the Playback Restrictions with example.com as an allowed domain. Any thumbnails request from other websites are denied.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **metaData** 
      </td>

      <td style={{ textAlign: "left" }}>
        Details of created stream key details in JSON. Which is generated after creating stream key.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        **liveStreamId** 
      </td>

      <td style={{ textAlign: "left" }}>
        Unique identifier for the live stream. This is an optional parameter added when the session created from a live stream.
      </td>
    </tr>
  </tbody>
</Table>

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

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Error Code
      </th>

      <th>
        Error Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        400
      </td>

      <td>
        The request could not be understood by the server due to malformed syntax.
      </td>
    </tr>

    <tr>
      <td>
        401
      </td>

      <td>
        You are not authorized to view the resource.
      </td>
    </tr>

    <tr>
      <td>
        403
      </td>

      <td>
        Accessing the resource you were trying to reach is forbidden.
      </td>
    </tr>

    <tr>
      <td>
        404
      </td>

      <td>
        The resource you were trying to reach is not found.
      </td>
    </tr>

    <tr>
      <td>
        4030201
      </td>

      <td>
        Not Event Host
      </td>
    </tr>

    <tr>
      <td>
        4068912
      </td>

      <td>
        Can not generate stream key, live stream in process.
      </td>
    </tr>

    <tr>
      <td>
        404800
      </td>

      <td>
        Session not found!
      </td>
    </tr>

    <tr>
      <td>
        4044005
      </td>

      <td>
        Mux live stream status not available.
      </td>
    </tr>

    <tr>
      <td>
        4044004
      </td>

      <td>
        Mux live stream can not create.
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "accelevents",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.accelevents.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/rest/host/event/{eventUrl}/rtmp/eventLiveStream": {
      "post": {
        "summary": "Create stream assets for event lobby or exhibitor Aceelevents RTMP or direct upload stream provider",
        "description": "Generate streaming assets for lobby/exhibitor. Using this API, you can generate `streamKey` & `rtmpUrl` for Aceelevents RTMP or direct upload assets for direct upload stream provider returned in response. \n\nFor Accelevents RTMP combining `streamKey` and `rtmpUrl` you will create a streaming endpoint and configure it within your broadcasting software. For more information, checkout this link, https://docs.mux.com/guides/video/configure-broadcast-software.\n\n**For example:**\nIf API return below `rtmpUrl` and `streamKey`\n**rtmpUrl**: “rtmp://live.mux.com/app”\n**streamKey**: “a42ccb8f-dce1-00f8-3552-504d14b43724”\nthen final endpoint will be rtmp://live.mux.com/app/a42ccb8f-dce1-00f8-3552-504d14b43724. \n\nFor direct upload lobby/exhibitor, first you need to create direct upload assets on MUX and for more details for how to create direct upload assets and use, checkout this link : https://developer.accelevents.com/reference/create-upload-video-url-for-session, and as API response you will get `directUploadId` that you need to pass in current API as body parameter.\n\nUser need to pass type for identify stream type EX : LOBBY, EXPO & streamProvider for identify lobby/exhibitor stream provider like : DIRECT_UPLOAD, ACCELEVENTS.\n\nThis API can be used by authenticated user only, and it will require super admin/event admin/event staff level access. User need to pass an authentication token as header and type and `streamProvider` as query parameter.",
        "operationId": "create-rtmp-url-for-event-lobby-or-exhibitor-settings",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API Authorization Token",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Identify stream type EX : LOBBY,EXPO",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "streamProvider",
            "in": "query",
            "description": "For identify stream provider EX : ACCELEVENTS,DIRECT_UPLOAD",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "eventUrl",
            "in": "path",
            "description": "Event url is unique identifier for your event. E.g https://www.accelevents.com/events/demo. Here demo is the event url.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "directUploadDto": {
                    "type": "object",
                    "properties": {
                      "eventURL": {
                        "type": "string"
                      },
                      "uploadId": {
                        "type": "string"
                      },
                      "videoDuration": {
                        "type": "number",
                        "format": "double"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"streamProvider\": \"ACCELEVENTS\",\n  \"subStreamProvider\": null,\n  \"streamUrl\": \"aIdDAEH00MdVsGYfAV4tpD3Xi3aHqZ7IGID01FkExb8d4\",\n  \"streamKey\": \"2406d3e8-e197-8096-6ad8-87db7ef0c08f\",\n  \"rtmpUrl\": \"rtmp://live.mux.com/app\",\n  \"accelEventsStudio\": true,\n  \"playBackRestrictionToken\": \"eyJraWQiOiJNSEJvMXhaR09PUGlHUTJ4Y3AwMjFOOXNVVnkzcTVURFBnNUN3Sk1McTAyQlUiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhSWREQUVIMDBNZFZzR1lmQVY0dHBEM1hpM2FIcVo3SUdJRDAxRmtFeGI4ZDQiLCJhdWQiOiJ2IiwicGxheWJhY2tfcmVzdHJpY3Rpb25faWQiOiI2a090U2NZcU8wMmFMbmNmS3JJejViWnVVMDF3c3hCWDlEM2Z2ZTZ6cFhJR2MiLCJleHAiOjE4NjEwMTIyNTN9.ADpGfMbNWLE3HNR5WflAGldPaY-cjs5H99X0ysK7SZIHwp4SP56coPJWifh34CRPyO-aItSaiE5gsOWrCQHoSoWC88kbGWnMaezi0gvk1NeZk6LSwDMiMaAXzWyEkPFuUqcx2TYwxJL9y0scAATA1JpjLxkRFomoGt8B376U041XmheVofOiOKJTLPB0RR2O3WZfDQWyFJY-udWe-otetxieM0pFGrf_g0zOQqSsjHl_7qHguLV0T8tSaOXn1J4Q9Go0xM4PgY4k8gvKgmUnakvW9ck1W8ZO1oHDOAGiMnXPufvb9KdM3nTPyydCTwUIULqzyVCqU0_CY1ZA_uZizw\",\n  \"thumbnailRestrictionToken\": \"eyJraWQiOiJNSEJvMXhaR09PUGlHUTJ4Y3AwMjFOOXNVVnkzcTVURFBnNUN3Sk1McTAyQlUiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhSWREQUVIMDBNZFZzR1lmQVY0dHBEM1hpM2FIcVo3SUdJRDAxRmtFeGI4ZDQiLCJhdWQiOiJ0IiwicGxheWJhY2tfcmVzdHJpY3Rpb25faWQiOiI2a090U2NZcU8wMmFMbmNmS3JJejViWnVVMDF3c3hCWDlEM2Z2ZTZ6cFhJR2MiLCJleHAiOjE4NjEwMTIyNTN9.qRw1wuYCUjeH8x2Lywl70s3EV0yPqpnvIz-bTliRvDmCCCVLlsR0k3fCx8odjfkxSgtsz1GV7NmMysBlc1OpiyNjbclqQNzitc8n8a4K5u9USovd1lPjUbQb3-sdrCPiZ_0uGPNfFn_8dLzDHQeyw03MSvELWVd6VSuC8YDpBeK43SfA_wjjImzdf9rlt5yBO6iIH5BZ_bzEsS9qBB2sawD-MB8dgxaZGOeyLqWZ-gf4SxJRpg9edKnNPXrX5f8rmbwyVNh7SIugZT7gC-VkT4LcsDtr0yISXL_8mEFnl5Y86xxIQ4xQg90nguPXQHGrzI0LbuAVp0SvRllJ2N2BKQ\",\n  \"metaData\": \"{\\\"reconnect_window\\\":90,\\\"playback_ids\\\":[{\\\"id\\\":\\\"aIdDAEH00MdVsGYfAV4tpD3Xi3aHqZ7IGID01FkExb8d4\\\",\\\"policy\\\":\\\"signed\\\"}],\\\"latency_mode\\\":\\\"standard\\\",\\\"passthrough\\\":\\\"SESSION_1644\\\",\\\"created_at\\\":\\\"1640260253\\\",\\\"new_asset_settings\\\":{\\\"playback_policies\\\":[\\\"signed\\\"]},\\\"id\\\":\\\"wvzlrf7jaN8UgPRGBXw9xMWq702j9pYu6hpEUHmF3KLU\\\",\\\"stream_key\\\":\\\"2406d3e8-e197-8096-6ad8-87db7ef0c08f\\\",\\\"status\\\":\\\"idle\\\"}\",\n  \"liveStreamId\": \"wvzlrf7jaN8UgPRGBXw9xMWq702j9pYu6hpEUHmF3KLU\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "streamProvider": {
                      "type": "string",
                      "example": "ACCELEVENTS"
                    },
                    "subStreamProvider": {},
                    "streamUrl": {
                      "type": "string",
                      "example": "aIdDAEH00MdVsGYfAV4tpD3Xi3aHqZ7IGID01FkExb8d4"
                    },
                    "streamKey": {
                      "type": "string",
                      "example": "2406d3e8-e197-8096-6ad8-87db7ef0c08f"
                    },
                    "rtmpUrl": {
                      "type": "string",
                      "example": "rtmp://live.mux.com/app"
                    },
                    "accelEventsStudio": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "playBackRestrictionToken": {
                      "type": "string",
                      "example": "eyJraWQiOiJNSEJvMXhaR09PUGlHUTJ4Y3AwMjFOOXNVVnkzcTVURFBnNUN3Sk1McTAyQlUiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhSWREQUVIMDBNZFZzR1lmQVY0dHBEM1hpM2FIcVo3SUdJRDAxRmtFeGI4ZDQiLCJhdWQiOiJ2IiwicGxheWJhY2tfcmVzdHJpY3Rpb25faWQiOiI2a090U2NZcU8wMmFMbmNmS3JJejViWnVVMDF3c3hCWDlEM2Z2ZTZ6cFhJR2MiLCJleHAiOjE4NjEwMTIyNTN9.ADpGfMbNWLE3HNR5WflAGldPaY-cjs5H99X0ysK7SZIHwp4SP56coPJWifh34CRPyO-aItSaiE5gsOWrCQHoSoWC88kbGWnMaezi0gvk1NeZk6LSwDMiMaAXzWyEkPFuUqcx2TYwxJL9y0scAATA1JpjLxkRFomoGt8B376U041XmheVofOiOKJTLPB0RR2O3WZfDQWyFJY-udWe-otetxieM0pFGrf_g0zOQqSsjHl_7qHguLV0T8tSaOXn1J4Q9Go0xM4PgY4k8gvKgmUnakvW9ck1W8ZO1oHDOAGiMnXPufvb9KdM3nTPyydCTwUIULqzyVCqU0_CY1ZA_uZizw"
                    },
                    "thumbnailRestrictionToken": {
                      "type": "string",
                      "example": "eyJraWQiOiJNSEJvMXhaR09PUGlHUTJ4Y3AwMjFOOXNVVnkzcTVURFBnNUN3Sk1McTAyQlUiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhSWREQUVIMDBNZFZzR1lmQVY0dHBEM1hpM2FIcVo3SUdJRDAxRmtFeGI4ZDQiLCJhdWQiOiJ0IiwicGxheWJhY2tfcmVzdHJpY3Rpb25faWQiOiI2a090U2NZcU8wMmFMbmNmS3JJejViWnVVMDF3c3hCWDlEM2Z2ZTZ6cFhJR2MiLCJleHAiOjE4NjEwMTIyNTN9.qRw1wuYCUjeH8x2Lywl70s3EV0yPqpnvIz-bTliRvDmCCCVLlsR0k3fCx8odjfkxSgtsz1GV7NmMysBlc1OpiyNjbclqQNzitc8n8a4K5u9USovd1lPjUbQb3-sdrCPiZ_0uGPNfFn_8dLzDHQeyw03MSvELWVd6VSuC8YDpBeK43SfA_wjjImzdf9rlt5yBO6iIH5BZ_bzEsS9qBB2sawD-MB8dgxaZGOeyLqWZ-gf4SxJRpg9edKnNPXrX5f8rmbwyVNh7SIugZT7gC-VkT4LcsDtr0yISXL_8mEFnl5Y86xxIQ4xQg90nguPXQHGrzI0LbuAVp0SvRllJ2N2BKQ"
                    },
                    "metaData": {
                      "type": "string",
                      "example": "{\"reconnect_window\":90,\"playback_ids\":[{\"id\":\"aIdDAEH00MdVsGYfAV4tpD3Xi3aHqZ7IGID01FkExb8d4\",\"policy\":\"signed\"}],\"latency_mode\":\"standard\",\"passthrough\":\"SESSION_1644\",\"created_at\":\"1640260253\",\"new_asset_settings\":{\"playback_policies\":[\"signed\"]},\"id\":\"wvzlrf7jaN8UgPRGBXw9xMWq702j9pYu6hpEUHmF3KLU\",\"stream_key\":\"2406d3e8-e197-8096-6ad8-87db7ef0c08f\",\"status\":\"idle\"}"
                    },
                    "liveStreamId": {
                      "type": "string",
                      "example": "wvzlrf7jaN8UgPRGBXw9xMWq702j9pYu6hpEUHmF3KLU"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```