Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
activecampaign
Advanced tools
Official Node.js wrapper for the ActiveCampaign API.
Install using NPM:
npm install activecampaign
If you don't use NPM, try this:
git clone git://github.com/ActiveCampaign/activecampaign-api-nodejs.git activecampaign
var ActiveCampaign = require("activecampaign");
var ac = new ActiveCampaign("https://ACCOUNT.api-us1.com", {{KEY}});
// TEST API credentials
ac.credentials_test().then(function(result) {
// successful request
if (result.success) {
// VALID ACCOUNT
} else {
// INVALID ACCOUNT
}
}, function(result) {
// request error
});
// GET requests
var account_view = ac.api("account/view", {});
account_view.then(function(result) {
// successful request
console.log(result);
}, function(result) {
// request error
});
var contact_exists = ac.api("contact/view?email=test@example.com", {});
contact_exists.then(function(result) {
// successful request
console.log(result);
}, function(result) {
// request error
});
// POST request
var list = {
name: "List 3",
sender_name: "My Company",
sender_addr1: "123 S. Street",
sender_city: "Chicago",
sender_zip: "60601",
sender_country: "USA"
};
var list_add = ac.api("list/add", list);
list_add.then(function(result) {
// successful request
console.log(result);
}, function(result) {
// request error
});
View our full API documentation.
We'd love to help if you have questions or problems. Report issues using the Github Issue Tracker or email help@activecampaign.com.
FAQs
Node.js wrapper for the ActiveCampaign API
The npm package activecampaign receives a total of 0 weekly downloads. As such, activecampaign popularity was classified as not popular.
We found that activecampaign 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.