Developers     Developer center

Developer center

under hero banner

NOTE: We’ve recently updated our service. Learn more

If we’ve not yet migrated you to the new service,
click here to see the Legacy Token Generation Tutorial

Token Generation

This tutorial explains the two methods available for generating Test Tokens.


Tokens are generated using the ExpressPlay REST API, Full API documentation can be found here. Use of the API requires either your Test or Production Customer Authenticator, found at


Generating MS3 Tokens with the REST API

In addition the a Customer Authenticator the MS3 Token Request API, requires the content key, Content ID and the content hosting location in URL form.

The parameters should be formatted into a RESTful POST or GET request similar to how the list of parameters below is formated to create the subsequent RESTful call.

Content ID = urn:marlin:kid:67895432987623454756654729382341
Content Key = 43210987123478904321098712340987
Content URL =

Note: In the case of HLS content, you should use the ‘hls://’ protocol identifier in the contentURL parameter. For DASH and MP4, you use http or https as appropriate. In the case of the DASH example above you should get an MS3 token similar to the one shown below.

Generating Marlin Broadband (BB) Tokens with the REST API

In addition to a Customer Authenticator the Marlin BB tokens API requires the Content ID, Content Key and the token type. The parameters should be formatted into a RESTful POST or GET request similar to the one demonstrated below.

Content ID = bigbuckbunnyhls
Content Key = 12345678123456781234567812345678
tokenType = BuyToOwn
actionTokenType = 1

The token returned will be an XML document similar to the one below.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ActionToken xmlns="urn:marlin:broadband:1-2:nemo:services:action-token" xmlns:xsi="">
<ConfigurationInfo broadbandServiceId="urn:marlin:organization:seacert:eval-marlin-service:500" configVersion="3">