Making authenticated requests

During Authentication an application obtains an access token, you can use the token to make calls to an Evance API.

Access tokens are granted permission to access the Evance API within the scope of the token requested. For example, if an access token is issued and restricted to the Evance Products API, it may not have access to the Evance Contacts API. 

Include the access token in a request to the API by including an Authorization: Bearer HTTP header.

HTTP Get example

GET /api/products.json
Host: {account}.evance.me
Authorization: Bearer {access_token}

Curl example

curl -H "Authorization: Bearer {access_token}" https://{account}.evance.me/api/products.json