How to authenticate/authorize requests made to the VEED API.

For authenticating requests, the VEED API uses API Keys. These keys can be retrieved and managed via your Workspace dashboard.

During development, make sure to use the test secret key which have the prefix key_test_. For your production environment, make use of the production secret key with the prefix key_live_.

At the moment, your API keys carry administrative privileges and can carry out any action enabled on the API, so be sure to keep them secure. Do not sure your keys in publicly accessible places like Github, on client-side code, documentations, tutorials and so forth.

To make use of the API keys, attach them to the Authorization request header as shown on the right sidepane:

curl --request GET \
  --url \
  --header 'Authorization: veed_test_xxxxxxxxxxxxxxxxxxxxxxxx'
const fetch = require('node-fetch');

let url = '';

let options = {method: 'GET', headers: {Authorization: 'veed_test_xxxxxxxxxxxxxxxxxxxxxxxx'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));



You should make all API calls over HTTPS and always authenticate every request.