ActiveCampaign Custom API Script: Interact with ActiveCampaign webhooks via our REST API.
This script is intended to get you going with our API by providing an interface to manage your webhooks. You are free to customize the script to your liking.
Requirements
- Our PHP API library
- A web server where you can run PHP code
Installation and Usage
You can install example-rest_hooks by downloading (or cloning) the source.
Input your ActiveCampaign URL and API Key at the top of the script. Example below:
$api_url = "https://ACCOUNT.api-us1.com"; $api_key = "4f3c6d12f0.....00ca273778dc893";
Also make sure the path to the PHP library is correct:
require_once("../../activecampaign-api-php/includes/ActiveCampaign.class.php");
Refresh the page and you should see options to "Add Webhook," "View/Edit/Delete Webhooks," and "View Webhook Event Types":
Documentation and Links
Reporting Issues
We'd love to help if you have questions or problems. Report issues using the Github Issue Tracker or email [email protected].