DynTube API
  • Welcome!
  • Key Concepts
  • Quick Start
  • Reference
    • Videos
      • Video Upload via File (Server Side)
      • Video Upload via URL (server side)
      • HTML-Form Client Side Video Uploads
      • Get Video Status
      • Get Videos
      • Get Video
      • Update Video
      • Delete Video
      • Download Original Video
      • Get Video for Mobile App/Custom Player
      • Update Video Image
      • Add Video Captions/Chapters/Subtitles
      • Delete Video Captions/Subtitles/Chapters
      • Create Expirable Links
      • Get Collected Emails
      • Setting Up Webhooks
      • Copy call-to-action (CTA) to Videos
      • Token Authentication
    • Projects
      • Create Project
      • Update a Project
      • Get Projects
      • Get a Project
      • Delete a Project
      • Set default CTA for Project
    • Live Streaming
      • Create a Live Stream
      • Update a Live Stream
      • Get Live Streams
      • Get a Live Stream
      • Count Live Streams
      • Live Streams Limit
      • Get Live Streaming Recording
      • Delete a Live Stream
      • Service and Regions for live streams
    • Channels
      • Get Channels
      • Get Channel
      • Delete Channel
    • Subscriptions
      • Create a Plan
      • Create a Member
      • Attach Plan To Member
      • Get Plans
      • Get Members
      • Get Member's Plans
      • Delete a Plan
    • Analytics
      • Use your User Ids in Analytics
      • Get Video Analytics
    • Javascript Events Methods
      • Plain Javascript Events & Methods
      • Control the Player using React
      • Control the Player in Vue.js
    • Developer Resources
      • How to embed DynTube player in Next.Js
      • How to embed the video player in React
      • How to play DynTube videos in React Native
      • ExoPlayer app to play HLS videos
      • How to embed videos & channels dynamically
      • How to Import Vimeo Videos into DynTube
Powered by GitBook
On this page
  • API URL
  • API Version
  • Plan Types
  • Region Codes
  • Region Codes for Standard Plans

Key Concepts

Below are some key concepts about the API. It is highly recommended that you understand this page before you start working on other endpoints.

API URL

The URL to make API calls is

https://api.dyntube.com/v1/

API Version

The current API version is 1. So you can replace the version number where needed in the API.

Plan Types

Some of the API endpoints need a field planType or storePanType. Whenever you are required to provide this field, you can use the following endpoint to get the planType.

GET https://api.dyntube.com/v1/account/plans

You can use the value of the field "type" from the JSON response.


  [
    {
        "name": "Standard",
        "type": 1,
        "created": "2018-05-09T09:13:51.1283277+00:00"
    },
     {
        "name": "Edge Plan",
        "type": 2,
        "created": "2018-08-15T01:49:43.2197+00:00"
    }
  ]

Region Codes

In a few parts of the API, you are requested to provide region. For example, if you create a project using the API, you will need to provide a region & planType for the project.

Please use the following region codes & plan types depending on your subscribed plan.

Region Codes for Standard Plans

REGION NAME
CODE

US East

use-s

US West

usw-s

US Centeal

usc-s

Canada

can-s

Netherland

euc-s

Germany

deu-s

France

fra-s

United Kingdom

gbr-s

Singapore

sgp-s

Australia

aus-s

Japan

apn-s

PreviousWelcome!NextQuick Start

Last updated 1 year ago