Wrapper for Active Campaign API v1
This module contains API endpoints, which I needed when implementing my project. You can easily contribute to this module the endpoints you need and use them.
yarn add active-campaign-v1
or
npm install active-campaign-v1
import { AC } from 'active-campaign-v1'
const ac = new AC('<account-name>', '<API-token>')
ac.contactAdd({
email: 'test@mail.com',
firstName: 'test'
})
This code creates new contact with email test@mail.com
and test
name.
full support
endpoint | method |
---|---|
account_view | accountView |
partially support
endpoint | method |
---|---|
contact_add | contactAdd |
contact_sync | contactSync |
contact_view | contactView |
Licensed under the MIT License, Copyright © 2020-present George Lukyanov
See LICENSE for more information.