Developers · Integrations
ActiveCampaign via API Call Notifications
Last updated 11 November 2026
This guide demonstrates creating an ActiveCampaign integration for Insites using API call notifications.
Prerequisites
To understand this tutorial, you must be able to create API Call Notifications. In addition, you must know how to manage third-party systems 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 an API call notification
- Step 2: Add the API call notification to forms
Step 1: Create an API call notification
Create an API Call Notification:
- Obtain your ActiveCampaign API URL and API Key by following the steps outlined in How to obtain your ActiveCampaign API URL and Key.
- Store your ActiveCampaign API key as a constant, for example
. You can set it with . The API call reads it as . Never put the key itself in the file. - Replace
with your account URL. - Add the payload based on the attributes in your form. The example reads
, and . Use the field names from 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": "{{ context.constants.ACTIVECAMPAIGN_API_KEY }}"
}
---
{
"contact": {
"email": "{{ form.email }}",
"firstName": "{{ form.first_name }}",
"lastName": "{{ form.last_name }}"
}
}Step 2: Add the API call notification to forms
Add the following to the front matter on your form:
api_call_notifications:
- active_campaign_new_host