Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
active-campaign-api-node
Advanced tools
Readme
This package I hope will help to work with Active Campaign
API v3.
I created this package for my own use.
In my project, I used not all functionality which proposes Active Campaign
.
So I do not know which result you can get. I tested all based on Active Campaign
documentation
If you find some bugs, or you want to improve something to be free to create issues or merge requests.
I will try to be communicable.
Versions of API | Implemented | QA | Tests |
---|---|---|---|
V3 | ✓ | ✗ | ✗ |
Functionality | Implemented | QA | Tests |
---|---|---|---|
ACCOUNTS | ✓ | ✗ | ✗ |
ADDRESSES | ✓ | ✗ | ✗ |
AUTOMATIONS | ✓ | ✗ | ✗ |
BRANDING | ✓ | ✗ | ✗ |
CALENDAR FEEDS | ✓ | ✗ | ✗ |
CAMPAIGNS | ✓ | ✗ | ✗ |
CONTACTS | ✓ | ✓ | ✗ |
DEALS | ✓ | ✗ | ✗ |
DEEPDATA INTEGRATIONS | ✓ | ✗ | ✗ |
FORMS | ✓ | ✗ | ✗ |
LISTS | ✓ | ✗ | ✗ |
NOTES | ✓ | ✗ | ✗ |
ORGANIZATIONS (DEPRECATED) | ✓ | ✗ | ✗ |
SAVED RESPONSES | ✓ | ✗ | ✗ |
SCORES | ✓ | ✗ | ✗ |
SEGMENTS | ✓ | ✗ | ✗ |
SETTINGS | ✓ | ✗ | ✗ |
SITE & EVENT TRACKING | ✓ | ✗ | ✗ |
TAGS | ✓ | ✗ | ✗ |
TASKS | ✓ | ✗ | ✗ |
TASK TYPES | ✓ | ✗ | ✗ |
TEMPLATES | ✓ | ✗ | ✗ |
USERS | ✓ | ✗ | ✗ |
WEBHOOKS | ✓ | ✗ | ✗ |
Using npm:
npm install active-campaign
Using yarn:
yarn add active-campaign
const ActiveCampaign = require('active-campaign');
const ACTIVE_CAMPAIGN_API_URL = https://your-company-name.api-us1.com // it is example
const ACTIVE_CAMPAIGN_API_KEY = You can get this API_KEY from your active campaign account. Details https://developers.activecampaign.com/reference#authentication
const ac = new ActiveCampaign({
apiUrl: ACTIVE_CAMPAIGN_API_URL,
apiKey: ACTIVE_CAMPAIGN_API_KEY,
});
// This method return all contacts from your active compaign
const listAllContacts = await ac.contacts.contact.listAll();
console.log(listAllContacts)
// This method create a contact in your active compaign
const contact = await ac.contacts.contact.create({
"contact": {
"email": "johndoe@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "7223224241",
"fieldValues":[
{
"field":"1",
"value":"The Value for First Field"
},
{
"field":"6",
"value":"2008-01-20"
}
]
}
});
console.log(contact)
Full list of methods you can see in the section Available resources and methods
Use official Documentation for create an object.
accounts
account
accountContactAssociation
customAccountField
customAccountFieldsValue
addresses
automations
brandings
calendarFeeds
campaigns
listAll(object)
retrieveLinksAssociatedToCampaign(id)
retrieveCampaign(id)
contacts
contact
automation
customField
customFieldsValue
deals
deal
customDealField
customDealFieldValue
pipeline
secondaryContract
stage
deepdataIntegrations
forms
lists
notes
organizations
savedResponses
scores
segments
settings
siteEventTrecking
eventTracking
siteTracking
addDomainToWhitelist(object)
retrieveCode()
retrieveStatus()
update(object)
removeDomainFromWhitelist(name)
listAll(object)
tags
tasks
taskTypes
templates
users
webhooks
FAQs
Library for help developers in working with active campaign CRM
The npm package active-campaign-api-node receives a total of 114 weekly downloads. As such, active-campaign-api-node popularity was classified as not popular.
We found that active-campaign-api-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.