n8n-nodes-apolloio
Version:
n8n node for Apollo.io - Search, Enrich, and Prospect People & Organizations via API
39 lines • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ApolloApi = void 0;
class ApolloApi {
constructor() {
this.name = 'apolloApi';
this.displayName = 'Apollo.io API';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'X-Api-Key': '={{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://api.apollo.io/api/v1',
url: '/organizations/enrich',
method: 'GET',
qs: {
domain: 'apollo.io',
},
},
};
}
}
exports.ApolloApi = ApolloApi;
//# sourceMappingURL=ApolloApi.credentials.js.map