This section contains guides about the API, resource path, authentication, etc.
Last updated 2 years ago
Was this helpful?
The primary authentication for all routes is the API key. ClosersHQ's API accepts the Bearer Authentication.
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); });