Comment on page
API Documentation
This section contains guides about the API, resource path, authentication, etc.
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 modified 9mo ago