Dolby.io · Arazzo Workflow

Dolby OptiView Provision a Viewer Token

Version 1.0.0

Create a geo-restricted subscribe token for a stream, then read it back to confirm.

1 workflow 1 source API 1 provider
View Spec View on GitHub MediaStreamingReal-Time StreamingWebRTCLive StreamingLow LatencyVideoAudioBroadcastPlayerAdvertisingDolby OptiViewMillicastTHEOliveTHEOplayerArazzoWorkflows

Provider

dolby-io

Workflows

provision-viewer-token
Create a subscribe token for a stream and confirm it is active.
Creates a viewer token bound to a stream with optional geo restrictions and reads it back to confirm it is active.
2 steps inputs: allowedCountries, authorization, label, streamName outputs: isActive, token, tokenId
1
createSubscribeToken
Create a subscribe token bound to the supplied stream name with optional allowed-country restrictions. Returns the token id and viewer JWT.
2
confirmToken
Read the new subscribe token back and confirm it is active.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Dolby OptiView Provision a Viewer Token
  summary: Create a geo-restricted subscribe token for a stream, then read it back to confirm.
  description: >-
    Issues a viewer (subscribe) token for a Dolby OptiView Real-time Streaming
    feed and confirms it. The workflow creates a subscribe token bound to a
    stream name with optional country allow/deny restrictions, then reads the
    token back to confirm it is active. The two operations chain on the returned
    token id. Every step inlines its Bearer Authorization header and request body
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: subscribetokenApi
  url: ../openapi/dolby-io-subscribetoken-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-viewer-token
  summary: Create a subscribe token for a stream and confirm it is active.
  description: >-
    Creates a viewer token bound to a stream with optional geo restrictions and
    reads it back to confirm it is active.
  inputs:
    type: object
    required:
    - authorization
    - label
    - streamName
    properties:
      authorization:
        type: string
        description: Bearer Authorization header value (e.g. "Bearer <API Secret>").
      label:
        type: string
        description: Human-readable label for the subscribe token.
      streamName:
        type: string
        description: The stream name the subscribe token is bound to.
      allowedCountries:
        type: array
        description: Optional list of ISO country codes allowed to view the stream.
        items:
          type: string
  steps:
  - stepId: createSubscribeToken
    description: >-
      Create a subscribe token bound to the supplied stream name with optional
      allowed-country restrictions. Returns the token id and viewer JWT.
    operationId: createSubscribeToken
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authorization
    requestBody:
      contentType: application/json
      payload:
        label: $inputs.label
        streams:
        - streamName: $inputs.streamName
          isRegex: false
        allowedCountries: $inputs.allowedCountries
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tokenId: $response.body#/id
      token: $response.body#/token
  - stepId: confirmToken
    description: Read the new subscribe token back and confirm it is active.
    operationId: getSubscribeToken
    parameters:
    - name: tokenID
      in: path
      value: $steps.createSubscribeToken.outputs.tokenId
    - name: Authorization
      in: header
      value: $inputs.authorization
    successCriteria:
    - condition: $statusCode == 200
    - condition: $response.body#/isActive == true
    outputs:
      isActive: $response.body#/isActive
  outputs:
    tokenId: $steps.createSubscribeToken.outputs.tokenId
    token: $steps.createSubscribeToken.outputs.token
    isActive: $steps.confirmToken.outputs.isActive

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/dolby-io-provision-viewer-token-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.