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:
Click on the "Click here" link to create your authorization token. Use this authorization token in your custom implementation.