Node.js Client for ActiveCampaign's v3 - REST API
Install
This library is distributed on npm. To add it as a dependency, run the following command:
$ npm install activecampaign-rest
Usage
Basic Use Case - Contact.Sync()
const AC =let contact ='url': 'https://xxx.api-us1.com''token': 'API_TOKEN'let payload ='email': 'john@wick.com''firstName': 'john''lastName': 'wick''phone': '032-123-1234'contact
Custom Fields Use Case - Contact.Sync()
const AC =let contact ='url': 'https://xxx.api-us1.com''token': 'API_TOKEN'let payload ='email': 'john@wick.com''firstName': 'john''lastName': 'wick''phone': '032-123-1234''fields':'name': 'Company''value':'ABC''name': 'License''value':'MIT'contact