Vagon
HomePricingGo to Dashboard
Vagon Streams
Vagon Streams
  • Introduction
  • Unreal Engine Pixel Streaming
  • Unity Render Streaming
  • Vagon Application Streaming
    • Application Bundles
  • Guides
    • How to Start Streaming
    • Performance Types
    • Streams
    • Capacity Types
    • Worldwide Coverage
    • Connection Optimizations
      • Application Cache Memory
      • Region Optimization
  • Configurations
    • Premium Feature Plans
    • Application Versioning
    • Basics
    • Limitations
    • Accessibility
    • Availability
    • Launch Parameters
    • Visitor Data Collection
    • Customize - Connection Page
    • Stream Files
    • Advanced
    • Application Budget Limit
  • Integrations
    • Client-side Communication
      • Javascript SDK
      • Unreal Engine SDK
      • Unity SDK
    • URL Parameters
    • Streams API Services
      • Authentication
      • API Documentation
  • Custom Flows
    • Connect over Corporate Networks
    • Run Multiple Files & Scripts
    • Application Debugging
    • Multi Tenant Streaming
    • Multiplayer Experiences
    • Troubleshooting
  • Tools & Services
    • AWS Marketplace
    • Vagon Streams CLI
    • Unity Verified Plugin
Powered by GitBook
On this page
  • Get your API keys
  • Authentication
  1. Integrations
  2. Streams API Services

Authentication

PreviousStreams API ServicesNextAPI Documentation

Last updated 1 year ago

Get your API keys

Before starting API integration for your Streams, your application must be uploaded, and the Stream for the application must be created from the Vagon Dashboard.

  • API Public Key: you can get it from Vagon Dashboard for each Streams.

  • API Secret: you can get it from Vagon Dashboard for each Streams.

  • Application ID: you can get it from Vagon Dashboard for each Streams. Stated as _Application_ID_ in the document.

  • Region: Region coverage can be set from Vagon Dashboard for each Streams.

Authentication

The client must be authenticated by using API Public and Secret keys with HMAC authentication, by using the SHA256 algorithm.

  • Every API call requires to be authenticated via the Authorization header.

  • Header format Authorization: HMAC {key}:{signature}:{nonce}:{timestamp}

  • Signature payload is calculated as payload = "{api key}{request method}{request path}{timestamp}{nonce}{request body}"

  • request path shouldn't include the base API endpoint. For example if you sending a GET request to https://api.vagon.io/app-stream-management/v2/applications the request path should be /app-stream-management/v2/applications

  • Request body should be an empty string for GET requests.

  • Signature is calculated as the signature = HMAC(SHA256, payload, api secret)

  • Signature should be in HexaDecimal format

  • The nonce is a random string value and the timestamp is the current UTC timestamp (milliseconds).

Share View from the Streams page inside Vagon Streams Dashboard