active-campaign-v1
v1.1.0
Published
Wrapper for Active Campaign API v1
Downloads
16
Maintainers
Readme
active-campaign-v1
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.
Installation
yarn add active-campaign-v1
or
npm install active-campaign-v1
Docks
Example
Common JS
import { AC } from 'active-campaign-v1'
const ac = new AC('<account-name>', '<API-token>')
ac.contactAdd({
email: '[email protected]',
firstName: 'test'
})
This code creates new contact with email [email protected]
and test
name.
Avaliable methods
Account view
full support
| endpoint | method | | ---- | ---- | | account_view | accountView |
Contact
partially support
| endpoint | method | | ---- | ---- | | contact_add | contactAdd | | contact_sync | contactSync | | contact_view | contactView |
License
Licensed under the MIT License, Copyright © 2020-present George Lukyanov
See LICENSE for more information.