Integrating ActiveCampaign Using API Call Notifications
Last edit: Nov 28, 2022
This guide will help you create an ActiveCampaign integration for platformOS using API Call Notifications.
Requirements
To follow this tutorial, you should be familiar with creating API Call Notifications. You also have to have access to the Partner Portal and know how to manage integrations, and have an ActiveCampaign account where you can find your API key.
Steps
Integrating ActiveCampaign using API Call Notifications is a two-step process:
Step 1: Create API Call Notification
Create an API Call Notification:
- Go to https://www.activecampaign.com and sign in. Click the "Settings" option located in the left side navigation menu.
- The Account Settings menu appears. Click the "Developer" option.
- The Developer Settings page loads and displays your ActiveCampaign API URL and API Key.
- Replace
<<YOUR_API_KEY>>
with your ActiveCampaign API key. - Replace
<<YOUR_ACCOUNT_URL>>
with your account URL. - Add the payload based on the attributes in your form.
---
name: active_campaign_new_host
to: <<YOUR_ACCOUNT_URL>>/api/3/contacts
delay: '0'
format: http
request_type: POST
request_headers: >
{
"Content-Type": "application/json",
"Api-Token": "<<YOUR_API_KEY>>"
}
---
{
"contact": {
"email": "",
"firstName": "",
"lastName": ""
}
}
Step 2: Add API Call Notification to forms
Add the following to the front matter on your form:
api_call_notifications:
- active_campaign_new_host