{"id":19270803,"url":"https://github.com/activecampaign/activecampaign-api-nodejs","last_synced_at":"2026-03-05T23:12:28.837Z","repository":{"id":6328491,"uuid":"7563748","full_name":"ActiveCampaign/activecampaign-api-nodejs","owner":"ActiveCampaign","description":"Node.js wrapper for the ActiveCampaign API","archived":false,"fork":false,"pushed_at":"2020-02-27T15:56:28.000Z","size":240,"stargazers_count":39,"open_issues_count":15,"forks_count":36,"subscribers_count":54,"default_branch":"master","last_synced_at":"2025-07-22T19:05:57.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zotero/zotero","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActiveCampaign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-11T17:20:18.000Z","updated_at":"2023-11-23T04:44:04.000Z","dependencies_parsed_at":"2022-08-24T13:31:02.036Z","dependency_job_id":null,"html_url":"https://github.com/ActiveCampaign/activecampaign-api-nodejs","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ActiveCampaign/activecampaign-api-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Factivecampaign-api-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Factivecampaign-api-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Factivecampaign-api-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Factivecampaign-api-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActiveCampaign","download_url":"https://codeload.github.com/ActiveCampaign/activecampaign-api-nodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Factivecampaign-api-nodejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267378683,"owners_count":24077788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T20:27:28.363Z","updated_at":"2026-03-05T23:12:28.794Z","avatar_url":"https://github.com/ActiveCampaign.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveCampaign Node.js API wrapper\r\n\r\nOfficial Node.js wrapper for the ActiveCampaign API.\r\n\r\n## Installation\r\n\r\nInstall using NPM:\r\n\r\n\tnpm install activecampaign\r\n\r\nIf you don't use NPM, try this:\r\n\r\n\tgit clone git://github.com/ActiveCampaign/activecampaign-api-nodejs.git activecampaign\r\n\r\n## Requirements\r\n\r\n1. Valid ActiveCampaign hosted account.\r\n\r\n## Example Usage\r\n\r\n```javascript\r\n\tvar ActiveCampaign = require(\"activecampaign\");\r\n\r\n\tvar ac = new ActiveCampaign(\"https://ACCOUNT.api-us1.com\", {{KEY}});\r\n\r\n\t// TEST API credentials\r\n\tac.credentials_test().then(function(result) {\r\n\t\t// successful request\r\n\t\tif (result.success) {\r\n\t\t\t// VALID ACCOUNT\r\n\t\t} else {\r\n\t\t\t// INVALID ACCOUNT\r\n\t\t}\r\n\t}, function(result) {\r\n\t\t// request error\r\n\t});\r\n\r\n\t// GET requests\r\n\r\n\tvar account_view = ac.api(\"account/view\", {});\r\n\taccount_view.then(function(result) {\r\n\t\t// successful request\r\n\t\tconsole.log(result);\r\n\t}, function(result) {\r\n\t\t// request error\r\n\t});\r\n\r\n\tvar contact_exists = ac.api(\"contact/view?email=test@example.com\", {});\r\n\tcontact_exists.then(function(result) {\r\n\t\t// successful request\r\n\t\tconsole.log(result);\r\n\t}, function(result) {\r\n\t\t// request error\r\n\t});\r\n\r\n\t// POST request\r\n\r\n\tvar list = {\r\n\t\tname: \"List 3\",\r\n\t\tsender_name: \"My Company\",\r\n\t\tsender_addr1: \"123 S. Street\",\r\n\t\tsender_city: \"Chicago\",\r\n\t\tsender_zip: \"60601\",\r\n\t\tsender_country: \"USA\"\r\n\t};\r\n\r\n\tvar list_add = ac.api(\"list/add\", list);\r\n\tlist_add.then(function(result) {\r\n\t\t// successful request\r\n\t\tconsole.log(result);\r\n\t}, function(result) {\r\n\t\t// request error\r\n\t});\r\n```\r\n\r\n## Full Documentation\r\n\r\n[View our full API documentation](http://activecampaign.com/api).\r\n\r\n## Reporting Issues\r\n\r\nWe'd love to help if you have questions or problems. Report issues using the [Github Issue Tracker](https://github.com/ActiveCampaign/activecampaign-api-nodejs/issues) or email [help@activecampaign.com](mailto:help@activecampaign.com).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivecampaign%2Factivecampaign-api-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivecampaign%2Factivecampaign-api-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivecampaign%2Factivecampaign-api-nodejs/lists"}