UNPKG

n8n-nodes-late

Version:

n8n community node for LATE API - Schedule and manage social media posts across Twitter/X, Instagram, Facebook, LinkedIn, TikTok, YouTube, and Threads

31 lines 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LateNode = void 0; class LateNode { constructor() { this.name = "lateApi"; this.displayName = "LATE API"; this.documentationUrl = "https://getlate.dev/docs#authentication"; this.properties = [ { displayName: "API Key", name: "apiKey", type: "string", typeOptions: { password: true }, default: "", description: 'Your LATE API key. Generate one from your LATE dashboard at getlate.dev/dashboard. Use the raw token without "Bearer " prefix.', }, ]; // Add Authorization: Bearer <token> to every request this.authenticate = { type: "generic", properties: { headers: { Authorization: '={{ "Bearer " + $credentials.apiKey }}', }, }, }; } } exports.LateNode = LateNode; //# sourceMappingURL=LateNode.credentials.js.map