API Documentation

This section contains guides about the API, resource path, authentication, etc.

Authentication:

The primary authentication for all routes is the API key. ClosersHQ's API accepts the Bearer Authentication.

How to get the API Key:

Use the API copied to make a request, as in the example below:

import axios from "axios"

var options = {
  method: 'GET',
  url: 'https://api.closershq.io/v1/crm/prospect',
  headers: {
    Accept: '*/*',
    Authorization: 'Bearer {{the copied API Key}}'
  }
};

axios.request(options).then(function (response) {
  console.log(response.data);
}).catch(function (error) {
  console.error(error);
});

Last updated