What is an API?

An API is an easy way for developers to interact with web platforms and services across the internet. Our API enables developers to interface directly with the Playwire Platform via code to accomplish tasks such as:
  • Get videos from a Publisher
  • Create, update and delete videos
  • Get playlists from a particular publisher
  • Interact with the Playwire Sandbox
1

Find Your API Token:

To get started, you will need some programming experience and an understanding of how to interact with an API (API Primer). You will also need to find your API Token located in the Playwire Dashboard.
  • Click the “Account” menu on the top right
  • Click “Edit User” from the dropdown (A)
  • Click the “Details” tab (B)
  • Your “API Token” should appear as a long string of letters and numbers (C)
  • Copy and paste your API Token in a safe and secure location
2

Make a Test API Call:

  • Visit our API Explorer page or use the API Client* of your choice
  • Find the API Endpoint you want to use. For our example, we will be using the “/videos/count.json” API Endpoint
  • Paste your API token into either the “Intergi-Access-Token” or “token” field
  • Click the “Try it out!” button
  • If you enter an invalid API Token, you will receive a 401 Response Code
  • If you enter a valid API Token, you will receive a 200 Response Code and a Response Body showing the count of how many videos have been uploaded to your account
API Client*

Use your browser, an API Client such as Postman or the Playwire API Explorer to make requests with the programming language of your choice using the examples below to make calls to our API.

Simple Code Examples

Follow the code examples below to make a simple HTTP request to our API with the programming language you are most comfortable with. When you are done looking over example, scroll down to the API Explorer to more advanced information about the Playwire Platform API.
  • Was this Support Article Helpful ?
  • yes   no