Skip to main content

What You’ll Need

Before you begin, ensure you have:

How to create streaming sessions

Make an authenticated POST request to the following endpoint:
This endpoint creates sessions for both mobile and web playback. Headers:
  • apiKey: Your Streaming API key.
  • accept: Must be application/json.
Query Parameters:
  • videoId: The ID of the video to play. This is the uploadJobId returned during the upload initialization step.
  • userId : The user’s identifier in your system. This value is rendered into the session’s visible watermark.
Example request:
Response schema: The response will return a new session object, including: Returns 200 OK with the new session object.
  • edge: A CDN edge url, responsible for serving the created session (string)
  • videoId: The ID of the requested video (uuid)
  • signature: A session signature to be verified by BMDRM (string)
  • userId: The user ID supplied by the client (string)
  • subscriptionId: The corresponding ID of the client subscription (uuid)
  • sessionId: The ID of the one-time use session (uuid)
  • nonce: One-time use number (string)
  • date: Timestamp of session creation (number)
The player needs every field from this response object to authenticate in the next step.

Session lifetime

  • Each session is valid for a single playback. Requesting playback again with the same sessionId and nonce will fail.

Web-only streaming sessions

This method is deprecated. Use the v2.0 session endpoint instead, which supports both web and mobile playback.
Make an authenticated POST request to the following endpoint:
Headers:
  • apiKey: Your Streaming API key
  • accept: application/json
Query Parameters:
  • videoId: The ID of the video to play. This is the uploadJobId returned during the upload initialization step. (uuid)
  • userId : The user’s identifier in your system. This value is rendered into the session’s visible watermark. (string)
Example request:
Response schema:The response will return a web-only session object, including:
Last modified on September 3, 2026