UNPKG

n8n-nodes-clay

Version:

n8n community node for Clay - Data enrichment and automation platform

29 lines (27 loc) 894 B
class ClayApiCredentials { constructor() { this.name = 'clayApi'; this.displayName = 'Clay API'; this.documentationUrl = 'https://www.clay.com/university/guide/guide-find-clay-api-key'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Clay API key. You can find this in your Clay dashboard under Settings > API Keys.', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'Authorization': '=Bearer {{$credentials.apiKey}}', }, }, }; } } module.exports = { ClayApiCredentials };