n8n-nodes-instantly-dev
Version:
n8n community node for Instantly API v2 - DEV TESTING VERSION
39 lines • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InstantlyApi = void 0;
class InstantlyApi {
constructor() {
this.name = 'instantlyApi';
this.displayName = 'Instantly API';
this.documentationUrl = 'https://developer.instantly.ai/api/v2';
this.icon = 'file:instantly.svg';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'Your Instantly API key. You can find this in your Instantly dashboard under Settings > API Keys.',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
'Authorization': '=Bearer {{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://api.instantly.ai/api/v2',
url: '/accounts',
method: 'GET',
},
};
}
}
exports.InstantlyApi = InstantlyApi;
//# sourceMappingURL=InstantlyApi.credentials.js.map