Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 1.1!

Authenticating API Requests

How to use your access token

Once you have a token, simply provide it as an Authorization:Bearer header in your requests, as shown below.

$ curl \
-s https://api.edrv.io \
-H 'Authorization:Bearer <access_token>' \
-H 'Accept:application/json'
var request = require('request');

var headers = {
    'Authorization': 'Bearer <access_token>',
    'Accept': 'application/json'
};

var options = {
    url: 'curl',
    headers: headers
};

Alternatively, helper functions are provided in some of our SDKs to authorize via Access Tokens. This means you don't need to specify the header explicitly - it's all done under the hood. (SDKs coming soon)


What’s Next

Explore eDRV API endpoints