n8n-nodes-apolloio
Version:
n8n node for Apollo.io - Search, Enrich, and Prospect People & Organizations via API
15 lines • 473 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.apiRequest = apiRequest;
const APOLLO_API_BASE_URL = 'https://api.apollo.io/api/v1';
async function apiRequest(method, url, body = {}, qs = {}) {
return await this.helpers.requestWithAuthentication.call(this, 'apolloApi', {
method,
baseURL: APOLLO_API_BASE_URL,
url,
body,
qs,
json: true,
});
}
//# sourceMappingURL=transport.js.map