Dolby.io · Example Payload

Dolby Io Create Publish Token Example

MediaStreamingReal-time StreamingWebRTCLive StreamingLow LatencyVideoAudioBroadcastPlayerAdvertisingDolby OptiViewMillicastTHEOliveTHEOplayer

Dolby Io Create Publish Token Example is an example object payload from Dolby.io, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.millicast.com/api/publish_token",
    "headers": {
      "Authorization": "Bearer YOUR_API_SECRET",
      "Content-Type": "application/json",
      "Accept": "application/json"
    },
    "body": {
      "label": "live-event-2026",
      "streams": [
        { "streamName": "stage-a", "isRegex": false },
        { "streamName": "stage-b", "isRegex": false }
      ],
      "allowedOrigins": ["https://app.example.com"],
      "record": true,
      "enableThumbnails": true
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": 1042,
      "label": "live-event-2026",
      "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example",
      "addedOn": "2026-05-25T15:32:11Z",
      "isActive": true,
      "streams": [
        { "streamName": "stage-a", "isRegex": false },
        { "streamName": "stage-b", "isRegex": false }
      ],
      "allowedOrigins": ["https://app.example.com"],
      "record": true,
      "multisource": false,
      "enableThumbnails": true
    }
  }
}