Skip to content

Wowza Video REST API Reference Documentation (v2.0)

API lifecycle phase: Current

Want to take the API for a test run?

All you'll need is a Wowza Video subscription, or free trial, for the API access token. Then, fork our collection in Postman and you'll be making calls to our REST API in minutes!

See Trial the Wowza Video REST API using Postman for more information.

This reference documentation provides details about the operations, parameters, and request and response schemas for every resource and endpoint in the Wowza Video REST API. Samples appear in the right column. Sample requests are presented in cURL (Shell) and JavaScript; some samples also include just the JSON object. Response samples are all JSON. Examples in cURL use environment variables so you can easily copy and paste them. To learn more, see Using cURL.

Reference documentation is available for every version of the API. Use the Version menu at the top of the page to access the reference doc for a different version of the API.

Note: If you haven't moved over to the new Wowza Video UI experience, you won't be able to access v2.0 of the API. We're migrating customers iteratively. See Upgrade to the Wowza Video 2.0 REST API for more information.
Download OpenAPI description
Overview
License
Languages
Servers
Mock server
https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi
https://api.video.wowza.com/api/v2.0

Live Streams

Operations related to live streams. A live stream is a single, linear video broadcast. You broadcast a live stream by receiving encoded source video into the Wowza Video service and letting Wowza Video transcode the stream and deliver it to viewers. A live stream is essentially a one-stop method for creating a transcoder, output renditions, stream targets, and associated players.

Operations

Transcoders

Operations related to transcoders, output renditions, and output stream targets.

Operations

Stream Sources

Operations related to stream sources. You can create a Wowza stream source and associate it to a live stream or transcoder.

Operations

Stream Targets

Operations related to stream targets. A stream target is a destination for a stream. Stream targets can be Wowza Video edge resources; custom, external destinations, target destinations.

Operations

Schedules

Operations related to schedules. Schedules allow you to automatically start or stop a live stream or transcoder at a predetermined date and time. You can configure a schedule to start and/or stop a live stream or transcoder just once, or you can configure it to repeat the behavior on a regular basis. See About schedules to learn more.

Operations

Real-Time Streams

Operations related to Real-Time Streaming at Scale. If your audience is fewer than 300 viewers or you want to deliver a stream in near real time alongside other delivery protocols, use our WebRTC solution.

To enable and purchase capacity for Real-Time Streaming at Scale for your account and access the /real_time operations, contact 720.279.8163 or schedule a call.
Operations

Update a real-time stream

Request

This operation updates a real-time stream.

Path
idstringrequired

The unique alphanumeric string that identifies the real-time stream.

Bodyapplication/jsonrequired

Provide the details of the real-time stream to update in the body of the request.

real_time_streamobject(real_time_stream)
Example: {"name":"MyUpdatedRealTimeStream","description":"This is my first real-time stream."}
curl -i -X PATCH \
  'https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi/real_time/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "real_time_stream": {
      "name": "MyUpdatedRealTimeStream",
      "description": "This is my first real-time stream."
    }
  }'

Responses

Success

Bodyapplication/json
real_time_streamobject(real_time_stream)required
Example: {"id":"2adffc17","name":"MyRealTimeStream","stream_name":"8d304b93f1684320a54f2798666eeca7","token":"97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc","rtmp_url":"rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc","enable_secure_viewer":false,"state":"started","region":"amsterdam","recording":true,"reference_id":"mySystemID_01","disable_vod_encoder":true,"description":"This is my first real-time stream.","enable_player_and_hosted_page":true,"player_id":"2205b4e8-b160-43c2-868d-d88698a4e850","player_type":"wowza_flowplayer_v2","flowplayer":true,"embed_code":null,"logo_image_url":"https://prod.s3.amazonaws.com/uploads/player/logo_image/23424/5bad28.jpg","logo_position":"top-right","video_poster_image_url":"https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg","width":640,"hosted_page":{"title":"MyRealTimeStreamHostedPage","url":"https://embed.flowplayer.com/hosted/default/e8dk5bf6","description":"My hosted page description","sharing_icons":true},"created_at":"2021-06-30T18:02:20.000Z","updated_at":"2021-06-30T20:03:16.000Z"}
real_time_stream.​created_atstring(date-time)

The date and time that the real-time stream was created.

Example: "2021-06-30T18:02:20.000Z"
real_time_stream.​idstring

The unique identifier of the real-time stream. Use this ID to perform other operations on the stream, like getting the details of the stream or deleting it.

Example: "2adffc17"
real_time_stream.​namestring

A descriptive name for the real-time stream.

Example: "MyRealTimeStream"
real_time_stream.​stream_namestring

The generated alphanumeric stream name you pass to the SDK.

Example: "8d304b93f1684320a54f2798666eeca7"
real_time_stream.​tokenstring

The authentication token you pass to the SDK.

Example: "97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc"
real_time_stream.​subscribe_tokenstring

A secure token that must be passed by viewers for playback. Generated after you set enable_secure_viewer to true.

real_time_stream.​rtmp_urlstring

The URL you can use to configure an RTMP encoder as the source.

Example: "rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc"
real_time_stream.​enable_secure_viewerboolean

Require viewers to pass a security token for playback.

real_time_stream.​expires_onstring(date-time)

The date and time the security token expires. Specify YYYY-MM-DD HH:MM:SS, where HH is a 24-hour clock in UTC. If you don't specify HH:MM:SS, the token expires at 12AM UTC on the specified day. Required when enable_secure_viewer is true.

real_time_stream.​statestring

The state of the stream.

Enum"started""stopped""disabled"
Example: "started"
real_time_stream.​regionstring

An option to set the regional server the stream is distributed through. Select the region closest to your broadcast location for the most reliable stream. If you select the auto option, Wowza Video selects the region based on the publisher's location.

Default: phoenix

Example: "region": amsterdam

Enum"phoenix""amsterdam""singapore""bangalore""auto"
Example: "amsterdam"
real_time_stream.​recordingboolean

If true, records the real-time stream so you can download an MP4 later. The recording starts when the stream starts and stops automatically when the stream stops.

Recordings for real-time streams capture up to twelve hours of content in a single MP4 file. If the real-time stream recording is longer twelve hours, you'll have multiple files for the recording.

Default: false

Note: You can't update this value after you create the stream.

Example: "recording": true

Example: true
real_time_stream.​reference_idstring

A unique, alphanumeric ID returned in real-time stream webhook payloads. Setting a reference_id is useful if you have an ID in your system or application you want to associate with real-time stream events that trigger webhooks. Maximum 70 characters. Can only contain: a-z A-Z 0-9 !@#$%^&*()-_+=:;,.?~|

You can't use brackets or quotation marks.

See Wowza Video Webhook Event Reference Documentation to learn about webhooks.

Available from version 1.12.

Example: "reference_id": "mySystemID_01"

Example: "mySystemID_01"
real_time_stream.​disable_vod_encoderboolean

Skips VOD encoding and only creates an MP4 file for download. No VOD stream is created from the real-time stream.

Can only be set when recording is true and you can't change this value after you create the stream.

Default: false

Example: "disable_vod_encoder": true

Example: true
real_time_stream.​descriptionstring

An optional description of the real-time stream.

Example: "This is my first real-time stream."
real_time_stream.​enable_player_and_hosted_pageboolean

If true, enables a player and hosted page for the real-time stream.

Default: true

Note: You can't update this value after you create the stream.

Example: "enable_player_and_hosted_page": true

Example: true
real_time_stream.​playerobject

The player object is deprecated in 2.0. Create and update player configurations in the user interface.

Any values you send using the player object will be ignored.

The following fields have been moved outside of the player object and reside within the real_time_stream object where you can still access them through the API:

  • embed_code
  • logo_image_url
  • logo_position
  • video_poster_image_url
  • width
real_time_stream.​player_idstring

(Available from version 2.0) The unique alphanumeric string that identifies the player configuration to use for this stream.

When you pass a player configuration ID, Wowza Video uses that player configuration to customize and style the player. If you don't pass a value, the default player configuration for the account is used.

Create and edit player configurations in the user interface. The ID is on the General tab for the player configuration.

Default: Default player configuration

Note: player_id is not returned in the response if it's not explicitly sent and the default player configuration is used instead.

Example: 2205b4e8-b160-43c2-868d-d88698a4e850

Example: "2205b4e8-b160-43c2-868d-d88698a4e850"
real_time_stream.​player_typestring

(Available from version 2.0) The type of player associated with the stream. Streams created in legacy Wowza Video have a player type of wowza_flowplayer_v1. Streams created in later versions of Wowza Video have a player type of wowza_flowplayer_v2.

Knowing the player type is useful if you've migrated streams from legacy Wowza Video. The player for a stream created in the legacy version of Wowza Video isn't editable in the new platform.

Example: wowza_flowplayer_v1

Enum"wowza_flowplayer_v1""wowza_flowplayer_v2"
Example: "wowza_flowplayer_v2"
real_time_stream.​flowplayerboolean

Indicates whether or not the player for the live stream is a Wowza Flowplayer player. True indicates the player is a Wowza Flowplayer player. Our new Wowza Video experience uses Wowza Flowplayer. If you are a Wowza Video legacy subscriber, Wowza Flowplayer is also the player used.

False indicates the player is either an original_html5 player or wowza_player. The original HTML and Wowza players are the players available for Wowza Streaming Cloud subscribers.

Example: true
real_time_stream.​embed_codestring

The HTML code that can be used in an external webpage to host the Wowza Flowplayer.

Example: ""
real_time_stream.​logo_image_urlstring

The path to a GIF, JPEG, or PNG logo file that appears partially transparent in a corner of the player throughout playback. Logo file must be 2.5 MB or smaller.

Example: "https://prod.s3.amazonaws.com/uploads/player/logo_image/23424/5bad28.jpg"
real_time_stream.​logo_positionstring

The corner of the player in which you want the player logo to appear. The default is top-left.

Example: "logo_position": "top-right"

Enum"top-left""top-right""bottom-left""bottom-right"
Example: "top-right"
real_time_stream.​video_poster_image_urlstring

The path to a GIF, JPEG, or PNG poster image that appears in the player before the stream begins. Poster image files must be 2.5 MB or smaller.

Example: "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg"
real_time_stream.​widthinteger(int32)

The width, in pixels, of a fixed-size player. The default is 640.

Example: "width": 640

Example: 640
real_time_stream.​hosted_pageobject

Configuration of the hosted page.

Example: {"title":"MyRealTimeStreamHostedPage","url":"https://embed.flowplayer.com/hosted/default/e8dk5bf6","description":"My hosted page description","sharing_icons":true}
real_time_stream.​updated_atstring(date-time)

The date and time the real-time stream was updated.

Example: "2021-06-30T20:03:16.000Z"
Response
application/json
{ "real_time_stream": { "id": "2adffc17", "name": "MyRealTimeStream", "stream_name": "8d304b93f1684320a54f2798666eeca7", "token": "97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc", "rtmp_url": "rtmp://rtmp-realtime1.wowza.com:1935/v2/pub/8d304b93f1684320a54f2798666eeca7?token=97e52731bc21ef66e4c05a8ee1e28b64bf5f9db728573d94e690277cea9215bc", "enable_secure_viewer": false, "state": "started", "region": "amsterdam", "recording": true, "reference_id": "mySystemID_01", "disable_vod_encoder": true, "description": "This is my first real-time stream.", "enable_player_and_hosted_page": true, "player_id": "2205b4e8-b160-43c2-868d-d88698a4e850", "player_type": "wowza_flowplayer_v2", "flowplayer": true, "embed_code": null, "logo_image_url": "https://prod.s3.amazonaws.com/uploads/player/logo_image/23424/5bad28.jpg", "logo_position": "top-right", "video_poster_image_url": "https://prod.s3.amazonaws.com/uploads/player/video_poster_image/23424/5bad28.jpg", "width": 640, "hosted_page": {}, "created_at": "2021-06-30T18:02:20.000Z", "updated_at": "2021-06-30T20:03:16.000Z" } }

Delete a real-time stream

Request

This operation deletes a real-time stream.

Path
idstringrequired

The unique alphanumeric string that identifies the real-time stream.

curl -i -X DELETE \
  'https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi/real_time/{id}'

Responses

No Content

Response
No content

Fetch the state of a real-time stream

Request

This operation shows the current state of a real-time stream.

Path
idstringrequired

The unique alphanumeric string that identifies the real-time stream.

curl -i -X GET \
  'https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi/real_time/{id}/state'

Responses

Success

Bodyapplication/json
real_timeobject(real_time)required
real_time.​statestring

The state of the real-time stream.

Enum"started""stopped""disabled"
Example: "stopped"
Response
application/json
{ "real_time": { "state": "stopped" } }

Videos

Operations related to uploading and categorizing videos.

Operations

Categories

Operations related to categorizing videos.

Operations

Advanced Token Authentication

Operations related to using advanced token authentication, known in Wowza Video as a default playback token behavior option, with videos.

Use token authentication when distributing valuable or sensitive video content to audiences to ensure that only authorized users can access the content within the intended application. This allows for protection of intellectual property, compliance with regulations, and the ability to maintain control over content distribution. The token is embedded in the videos' embed URLs.

Through the UI or Wowza Video API, you can choose one of the following options for token authentication of a video:

  • NO_TOKEN - Video files are accessible and can be downloaded and played by anyone at any time. This is the default.

  • BASIC_TOKEN - The platform automatically creates tokenized video URLs. This setting makes it hard for a viewer to extract the video URL and store it for usage in unintended applications over time since the embed URL, which has the token as part of the URL, will only be playable for 48 hours. The token auto renews after 48 hours when used in the intended application.

  • ADVANCED_TOKEN - You add the stream's JS embed code (Share Stream) and a token to your site to provide tokenization. The protections are similar to those for the Basic Token option except you customize the time limit, geographical limits, etc. during token creation.

  • FOLLOW_DEFAULT: - The token behavior is based on the Default Playback Token Behavior setting you selected for your Wowza account. See the Org Settings page in Wowza Video article for where to set this configuration.

    Note: You'll use the /videos endpoints to update and review the token authentication enums bulleted above.

Before selecting to use the ADVANCED_TOKEN, you must, first, either:

  • Generate a key id via the Wowza Video API, then customize and generate a token via the Wowza Video 2.0 API to add to your site. You'll need the key id to create and sign the token.
  • Generate a key id and key via the Wowza Video 2.0 API, then customize and generate a standard common access token (CAT) through the means you usually use to create tokens to add to your site. You'll need the key id and key to create and sign the token.

After you have your playback token, you add the video JS-embed and the playback token to your site if you're going to use the ADVANCED_TOKEN option. The JS-embed code automatically adds the player and related video to your site. See the section on <a href="how to embed the player and video".

Operations

Clipping

Operations related to clipping and stitching videos and live streams.

Operations

Viewers

Operations related to viewer analytics.

Operations

Ingest

Operations related to ingest analytics for a live stream.

Operations

Engagement

Operations related to engagement analytics for a VOD stream.

Operations

Popularity

Operations related to popularity analytics.

Operations

Quality of Experience

Operations related to quality of experience metrics.

Operations

Account

Operations related to stream analytics for an account.

Operations

Transcoders

Operations related to transcoder analytics.

Operations

Stream Targets

Operations related to stream target analytics, including CDN usage and viewer data.

Operations

Real Time Streams

Operations related to real-time streams analytics.

Operations

Assets

The assets operations are deprecated in 2.0. Use the /videos endpoints instead.

Operations related to assets, which are created through the /assets resources. The Wowza Video service can store and transcode mp4 files that you can tag, manage, and restream.

Operations

Players

The player operations are deprecated in 2.0. Create and update player configurations in the user interface. Any values you send using the player operations will be ignored.

Operations related to players, which are created through the /live_streams resource. Players created through Wowza Video live streams can be embedded into your own web page or played through a web page hosted by Wowza Video.

Operations

Recordings

The recordings operations are deprecated in 2.0. Use the /videos endpoints instead.

Operations related to recordings, which are created through the /live_streams or /transcoders resources. The Wowza Video service can create MP4 recordings of your live streams and transcoded output. Recordings can be downloaded and saved locally. They're based on the highest-bitrate output rendition that Wowza Video generates from your video source. See About recordings to learn more.

Operations

VOD Streams

The VOD stream operations are deprecated in 2.0. Use the /videos endpoints instead.

Operations related to video on demand (VOD) streams, which are created through the /live_streams or /transcoders resources. A VOD stream is a recording of a live stream that viewers can replay at a later date. After the broadcast is over and the live stream or transcoder is stopped, Wowza Video creates the VOD stream and generates a playback URL. See About VOD Streams to learn more.

Operations

Storage

The storage operations are deprecated in 2.0.

Operations related to peak and current storage for an account.

Operations

VOD Streams (Usage)

The VOD stream operations are deprecated in 2.0.

Operations related to video on demand (VOD) stream analytics.

Operations