Authorization

The first thing you need to do is to authorize the usage of the API. The easiest way to do this is to first login into the CMS and select your site under the MANAGE VIDEOS option on the main left-hand menu. Once selected, click on the SETTINGS option right below your domain name and you should see the API section: API Section

Click on the "Click here" link to create your authorization token. Use this authorization token in your custom implementation.

These docs will assume that you use Brid's PHP SDK which handles most of the functionality to correctly send a request. If for any reason you don't want to use our SDK you need to make sure to pass the appropriate headers to our servers to get a valid response.

Headers for all Brid API requests:

Authorization: Bearer c0ac671bc7161kau4pcbfd1ae175129c437c5768
User-Agent: Api | BridVideo
X-Site: TuchTime.GigglyGrim.io

Authorization

After obtaining token sign your requests with:

Authorization: Bearer <ACCESS_TOKEN>

User-Agent

User-Agent: Api | BridVideo

X-site

X-Site: <YOUR_HOST_NAME>

PHP Implementation

public function http_headers() {

    return array(
            'Authorization' => Bearer <ACCESS_TOKEN>
            'User-Agent' => "Api | BridVideo",
            'X-Site' => $_SERVER['HTTP_HOST'],
    );
  }