Restream · Example Payload

Restream Refresh Token Example

BroadcastChatContent DeliveryLive StreamingMultistreamingVideo Streaming

Restream Refresh Token Example is an example object payload from Restream, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummaryrequestresponse

Example Payload

Raw ↑
{
  "operationId": "refreshToken",
  "summary": "Refresh OAuth Token",
  "request": {
    "method": "POST",
    "url": "https://api.restream.io/oauth/token",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": "grant_type=refresh_token&refresh_token={refresh_token}&client_id={client_id}&client_secret={client_secret}"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
      "expires_in": 3600,
      "refresh_token": "def50200abc...",
      "scope": "profile.read channels.read stream.read events.read",
      "token_type": "Bearer"
    }
  }
}