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

Configure a property for a stream target

Request

This operation configures a property for a stream target. The properties available will depend on the provider you are using and are noted in the key descriptions below. For example, if you are using the provider Wowza CDN on Fastly, look for that in the descriptions.

For a comprehensive resource describing the use of advanced properties, see Set advanced properties with the Wowza Video REST API.

Path
stream_target_idstringrequired

The unique alphanumeric string that identifies the stream target.

Bodyapplication/jsonrequired

Provide the details of the property or properties to configure in the body of the request. You must include either property or properties in the request as the root object.

One of:
propertyobject(property)required

A stream target property. The property configuration consists of a key/value pair and the section of the stream target configuration table the key/value pair is stored in.

Example: {"key":"chunkSize","section":"hls","value":6}
property.​keystringrequired

The key of the property.

The following table lists the available property keys.

KeyDescription
acaoExplicitly specifies the origin that can access the stream. While most streams won't need the origin explicitly set, you might use this property for older players that don't send the Referer header in their stream request.

Available on these targets types: Wowza CDN on Fastly
chunkSizeDefines the duration of the time-based audio and video chunks that Wowza Video delivers to the target.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
convertAMFDataDetermines whether Wowza Video converts incoming AMF data into ID3 tags.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playlistSecondsDefines the maximum allowable length of the playlist.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playSSLDetermines whether Wowza Video sends the stream from the target to the player by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
sendSSLDetermines whether Wowza Video sends the stream from the transcoder to the target by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
redundantChunklistsDetermines whether Wowza Video creates redundant chunklists within a playlist. If a primary chunklist within a playlist fails, players that support redundancy during playback can switch to the redundant chunklist.

Note: Enabling redundantChunklists increases playback reliability but doubles egress data usage and associated charges.

Available on these targets types: Custom: akamai_cupertino
relativePlaylistsAllows the viewer to watch the stream over HTTP and HTTPS, whichever protocol their browser calls.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
Enum"acao""chunkSize""convertAMFData""sendSSL""playSSL""playlistSeconds""redundantChunklists""relativePlaylists"
Example: "chunkSize"
property.​sectionstringrequired

The section of the stream target configuration table that contains the property.

SectionValid keys for the section
hlsacao, chunkSize, convertAMFData, and sendSSL
playlistplaySSL, playlistSeconds, redundantChunklists, and relativePlaylists
Enum"hls""playlist"
Example: "hls"
property.​valuestringrequired

The value of the property.

The following table provides information about valid values for each property key.

Key(s)Values for the key
acaoDisplays as http://<origin>
chunkSizeValid values are the integers 2, 4, 6, 8, and 10.
convertAMFData
playSSL
sendSSL
redundantChunklists
relativePlaylists
Valid values are the Booleans true and false.
playlistSecondsValid values are any integer between 6 and 28800 (8 hours).
Example: 6
curl -i -X POST \
  'https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi/stream_targets/{stream_target_id}/properties' \
  -H 'Content-Type: application/json' \
  -d '{
    "property": {
      "key": "chunkSize",
      "section": "hls",
      "value": 6
    }
  }'

Responses

Success

Bodyapplication/json
One of:
propertyobject(property)required

A stream target property. The property configuration consists of a key/value pair and the section of the stream target configuration table the key/value pair is stored in.

Example: {"key":"chunkSize","section":"hls","value":6}
property.​keystringrequired

The key of the property.

The following table lists the available property keys.

KeyDescription
acaoExplicitly specifies the origin that can access the stream. While most streams won't need the origin explicitly set, you might use this property for older players that don't send the Referer header in their stream request.

Available on these targets types: Wowza CDN on Fastly
chunkSizeDefines the duration of the time-based audio and video chunks that Wowza Video delivers to the target.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
convertAMFDataDetermines whether Wowza Video converts incoming AMF data into ID3 tags.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playlistSecondsDefines the maximum allowable length of the playlist.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playSSLDetermines whether Wowza Video sends the stream from the target to the player by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
sendSSLDetermines whether Wowza Video sends the stream from the transcoder to the target by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
redundantChunklistsDetermines whether Wowza Video creates redundant chunklists within a playlist. If a primary chunklist within a playlist fails, players that support redundancy during playback can switch to the redundant chunklist.

Note: Enabling redundantChunklists increases playback reliability but doubles egress data usage and associated charges.

Available on these targets types: Custom: akamai_cupertino
relativePlaylistsAllows the viewer to watch the stream over HTTP and HTTPS, whichever protocol their browser calls.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
Enum"acao""chunkSize""convertAMFData""sendSSL""playSSL""playlistSeconds""redundantChunklists""relativePlaylists"
Example: "chunkSize"
property.​sectionstringrequired

The section of the stream target configuration table that contains the property.

SectionValid keys for the section
hlsacao, chunkSize, convertAMFData, and sendSSL
playlistplaySSL, playlistSeconds, redundantChunklists, and relativePlaylists
Enum"hls""playlist"
Example: "hls"
property.​valuestringrequired

The value of the property.

The following table provides information about valid values for each property key.

Key(s)Values for the key
acaoDisplays as http://<origin>
chunkSizeValid values are the integers 2, 4, 6, 8, and 10.
convertAMFData
playSSL
sendSSL
redundantChunklists
relativePlaylists
Valid values are the Booleans true and false.
playlistSecondsValid values are any integer between 6 and 28800 (8 hours).
Example: 6
Response
application/json
{ "property": { "key": "chunkSize", "section": "hls", "value": 6 } }

Fetch all properties of a stream target

Request

This operation shows the details of all of the properties assigned to a specific stream target. The properties returned will depend on the provider you are using and are noted in the key descriptions below.

For a comprehensive resource describing the use of advanced properties, see Set advanced properties with the Wowza Video REST API.

Path
stream_target_idstringrequired

The unique alphanumeric string that identifies the stream target.

curl -i -X GET \
  'https://developer-m.wowza.com/_mock/docs/wowza-video/api/video/openapi/stream_targets/{stream_target_id}/properties'

Responses

Success

Bodyapplication/json
propertiesArray of objects(property)required
Example: [{"key":"acao","section":"hls","value":"http://www.example.com"},{"key":"chunkSize","section":"hls","value":6},{"key":"relativePlaylists","section":"playlist","value":true}]
properties[].​keystringrequired

The key of the property.

The following table lists the available property keys.

KeyDescription
acaoExplicitly specifies the origin that can access the stream. While most streams won't need the origin explicitly set, you might use this property for older players that don't send the Referer header in their stream request.

Available on these targets types: Wowza CDN on Fastly
chunkSizeDefines the duration of the time-based audio and video chunks that Wowza Video delivers to the target.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
convertAMFDataDetermines whether Wowza Video converts incoming AMF data into ID3 tags.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playlistSecondsDefines the maximum allowable length of the playlist.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playSSLDetermines whether Wowza Video sends the stream from the target to the player by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
sendSSLDetermines whether Wowza Video sends the stream from the transcoder to the target by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
redundantChunklistsDetermines whether Wowza Video creates redundant chunklists within a playlist. If a primary chunklist within a playlist fails, players that support redundancy during playback can switch to the redundant chunklist.

Note: Enabling redundantChunklists increases playback reliability but doubles egress data usage and associated charges.

Available on these targets types: Custom: akamai_cupertino
relativePlaylistsAllows the viewer to watch the stream over HTTP and HTTPS, whichever protocol their browser calls.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
Enum"acao""chunkSize""convertAMFData""sendSSL""playSSL""playlistSeconds""redundantChunklists""relativePlaylists"
Example: "chunkSize"
properties[].​sectionstringrequired

The section of the stream target configuration table that contains the property.

SectionValid keys for the section
hlsacao, chunkSize, convertAMFData, and sendSSL
playlistplaySSL, playlistSeconds, redundantChunklists, and relativePlaylists
Enum"hls""playlist"
Example: "hls"
properties[].​valuestringrequired

The value of the property.

The following table provides information about valid values for each property key.

Key(s)Values for the key
acaoDisplays as http://<origin>
chunkSizeValid values are the integers 2, 4, 6, 8, and 10.
convertAMFData
playSSL
sendSSL
redundantChunklists
relativePlaylists
Valid values are the Booleans true and false.
playlistSecondsValid values are any integer between 6 and 28800 (8 hours).
Example: 6
Response
application/json
{ "properties": [ {}, {}, {} ] }

Fetch a property of a stream target

Request

This operation shows the details of a specific property assigned to a specific stream target. The properties returned will depend on the provider you are using and are noted in the key descriptions below.

For a comprehensive resource describing the use of advanced properties, see Set advanced properties with the Wowza Video REST API.

Path
stream_target_idstringrequired

The unique alphanumeric string that identifies the stream target.

idstringrequired

The unique string that identifies the stream target property. The string contains the section and the key, connected by a dash. For example, hls-chunkSize.

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

Responses

Success

Bodyapplication/json
propertyobject(property)required

A stream target property. The property configuration consists of a key/value pair and the section of the stream target configuration table the key/value pair is stored in.

Example: {"key":"chunkSize","section":"hls","value":6}
property.​keystringrequired

The key of the property.

The following table lists the available property keys.

KeyDescription
acaoExplicitly specifies the origin that can access the stream. While most streams won't need the origin explicitly set, you might use this property for older players that don't send the Referer header in their stream request.

Available on these targets types: Wowza CDN on Fastly
chunkSizeDefines the duration of the time-based audio and video chunks that Wowza Video delivers to the target.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
convertAMFDataDetermines whether Wowza Video converts incoming AMF data into ID3 tags.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playlistSecondsDefines the maximum allowable length of the playlist.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
playSSLDetermines whether Wowza Video sends the stream from the target to the player by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
sendSSLDetermines whether Wowza Video sends the stream from the transcoder to the target by using SSL (HTTPS).

Available on these targets types: Custom: akamai_cupertino
redundantChunklistsDetermines whether Wowza Video creates redundant chunklists within a playlist. If a primary chunklist within a playlist fails, players that support redundancy during playback can switch to the redundant chunklist.

Note: Enabling redundantChunklists increases playback reliability but doubles egress data usage and associated charges.

Available on these targets types: Custom: akamai_cupertino
relativePlaylistsAllows the viewer to watch the stream over HTTP and HTTPS, whichever protocol their browser calls.

Available on these targets types: Wowza CDN on Fastly, Custom: akamai_cupertino
Enum"acao""chunkSize""convertAMFData""sendSSL""playSSL""playlistSeconds""redundantChunklists""relativePlaylists"
Example: "chunkSize"
property.​sectionstringrequired

The section of the stream target configuration table that contains the property.

SectionValid keys for the section
hlsacao, chunkSize, convertAMFData, and sendSSL
playlistplaySSL, playlistSeconds, redundantChunklists, and relativePlaylists
Enum"hls""playlist"
Example: "hls"
property.​valuestringrequired

The value of the property.

The following table provides information about valid values for each property key.

Key(s)Values for the key
acaoDisplays as http://<origin>
chunkSizeValid values are the integers 2, 4, 6, 8, and 10.
convertAMFData
playSSL
sendSSL
redundantChunklists
relativePlaylists
Valid values are the Booleans true and false.
playlistSecondsValid values are any integer between 6 and 28800 (8 hours).
Example: 6
Response
application/json
{ "property": { "key": "chunkSize", "section": "hls", "value": 6 } }

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

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