API Authentication

Some Viddy API endpoints require the developer to authorize with valid user credentials. For this, the developer needs to direct the user to our authentication server which asks for a user's login and password before providing access to the user's information to the application. The user can sign in with his email/facebook/twitter login or create a new account if he/she doesn't have one. 

Viddy uses oAuth 2.0 protocol for all API authentication requests. There are two authentication endpoints for the Viddy API. Redirect user to https://www.viddy.com/oauth/authenticate?client_id=<apikey> with the appropriate apikey provided. Once the user is authenticated, the user will be directed to the return_uri provided by the developer when creating the application. The return request will contain the access_token as part of the return URL.