Skip to main content
POST
Request Activation Info

Authorizations

x-api-key
string
header
required

Headers

X-RequestIdentifier
string<uuid> | null

Optional identifier to support idempotency

X-Request-Id
string | null

Unique request id generated by the reseller. Useful for e2e trouble-shooting. While listed as an optional header, some content providers consider this to be mandatory.

X-Operation-Id
string | null

Reseller-generated unique id per operation. Used by some content providers to identify an idempotent retry. While listed as an optional header, some content providers consider this to be mandatory.

Path Parameters

entitlementId
string<uuid>
required

The Bango entitlementId generated when the entitlement is created

Body

application/json

Activation info request.

options
enum<string>[]

Optional properties for the type of activation token being requested.

  • SHORT_LIVED_TOKEN
  • LONG_LIVED_TOKEN

Activation token option.

Available options:
SHORT_LIVED_TOKEN,
LONG_LIVED_TOKEN

Response

Activation information returned

Activation info response.

entitlementId
string
required

Unique identifier representing a specific entitlement.

responseCode
string
required

Result of the activation info request.

Example:

"CLIENT_ACTION_REQUIRED"

responseMessage
string
required

Response message of the activation info request.

Example:

"An action is required to be performed by the client."

activationCode
string

The activation response will normally be a url. However, this field is returned instead of the parameters block if the content provider supports activation codes rather than urls

parameters
Parameters · object

Activation parameters returned when the content provider uses an activation url.