A complete Node.js wrapper for the Drip v2 REST API, simplifying integration with Drip's email marketing platform. Version 3.1.4 (stable, infrequent releases) introduces breaking changes that simplify payload schemas for batch endpoints, moving from nested structures to flat arrays. Key differentiators: handles authentication (API token or OAuth2) and provides promise-based methods with optional callback support. Compared to alternatives, this is the official community-maintained library for Drip integrations.
npm install drip-nodejsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the client with API token and account ID, then lists campaigns using a promise.
For batch events, pass an array of objects directly instead of { batches: [ { events: [...] } ] }.Use callback parameter: client.updateBatchSubscribers(subscribers, callback).
Include tokenType in config object: { token: '...', tokenType: 'Bearer', accountId: '...' }.const client = drip({...}); not const client = drip;Check DRIP_API_TOKEN and DRIP_ACCOUNT_ID environment variables.