Webhooks
Webhooks provide the ability to receive real-time data updates about your contact & campaign activity.
Choose to receive data based on certain actions (subscribes, unsubscribes, reads, etc..) and have all applicable data sent to a URL of your choice. You can then use your own custom script to read, save, and do whatever you want with that data. This is a powerful option that allows you to keep all of your data in sync and opens up the possible integration options like never before.
For information on APIs to create, update, and modify webhooks, see: Webhook API Documentation
Choose when a webhook should run
With every webhook you create you can choose when it should actually fire. Perhaps you only
want to receive data when a contact is subscribed from the api? You could simply choose by the api
as the only initiation option for your webhook. You can choose multiple initiation options if you wish.
We guarantee “at least once” delivery for webhooks. In some rare cases, you may receive a webhook event more than once, so it’s important to create an idempotent system. see link for example.
Webhooks are never retried.
Processing webhook data
Any programming language can read webhook data, which comes across as "post" data to any URL.
For example, use the $_POST variable in PHP. If you need to access webhook data behind a firewall,
we have tested and find UltraHook (third-party utility) very easy to set
up and use.
Please read further about how to work with webhook data.
Automatic Webhook Deactivation
Webhooks will be automatically set to a state of inactive if they return an HTTP 410 (gone) response.
Deactivated webhooks will still show up in the UI, but they will not send. To reactivate a webhook, delete it and recreate it.
Initiation options
Webhook data you can receive
You are able to pick the specific actions that you wish to receive data for. Each field option is sent as a POST parameter to your URL.
<h3 class="fw-medium mb20">An acccount is added</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>account_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>account[id]</td>
<td>The account id</td>
</tr>
<tr>
<td>account[name]</td>
<td>The account name</td>
</tr>
<tr>
<td>account[account_url]</td>
<td>The account url</td>
</tr>
<tr>
<td>account[created_timestamp]</td>
<td>The date the account was created</td>
</tr>
<tr>
<td>account[updated_timestamp]</td>
<td>The date the account was last updated</td>
</tr>
<tr>
<td>account[fields][*]</td>
<td>Account custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">An Account is updated</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>account_update</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>account[id]</td>
<td>The account id</td>
</tr>
<tr>
<td>account[name]</td>
<td>The account name</td>
</tr>
<tr>
<td>account[account_url]</td>
<td>The account url</td>
</tr>
<tr>
<td>account[created_timestamp]</td>
<td>The date the account was created</td>
</tr>
<tr>
<td>account[updated_timestamp]</td>
<td>The date the account was last updated</td>
</tr>
<tr>
<td>account[fields][*]</td>
<td>Account custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
</div>
<h3 class="fw-medium mb20">A contact is added to an account</h3>
<p>This webhook will run when a new contact is added, whether or not the contact is subscribed to a list</p>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>account_contact_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of account</td>
</tr>
<tr>
<td>customer_account_id</td>
<td>Customer's account id</td>
</tr>
<tr>
<td>orgname</td>
<td>Name of organization</td>
</tr>
<tr>
<td>account[id]</td>
<td>Account id</td>
</tr>
<tr>
<td>account[name]</td>
<td>Account name</td>
</tr>
<tr>
<td>account[account_url]</td>
<td>Account url</td>
</tr>
<tr>
<td>account[created_timestamp]</td>
<td>Account created timestamp</td>
</tr>
<tr>
<td>account[updated_timestamp]</td>
<td>Account updated timestamp</td>
</tr>
<tr>
<td>account[fields][Description]</td>
<td>Account description</td>
</tr>
<tr>
<td>account[fields][Address 1]</td>
<td>Account address line 1</td>
</tr>
<tr>
<td>account[fields][Address 2]</td>
<td>Account address line 2</td>
</tr>
<tr>
<td>account[fields][City]</td>
<td>Account city</td>
</tr>
<tr>
<td>account[fields][State/Province]</td>
<td>Account state/providence</td>
</tr>
<tr>
<td>account[fields][Postal Code]</td>
<td>Account postal code</td>
</tr>
<tr>
<td>account[fields][Country]</td>
<td>Account country</td>
</tr>
<tr>
<td>account[fields][Number of Employees]</td>
<td>Account number of employees</td>
</tr>
<tr>
<td>account[fields][Annual Revenue]</td>
<td>Account annual revenue</td>
</tr>
<tr>
<td>account[fields][Industry/Vertical]</td>
<td>Account industry/vertical</td>
</tr>
<tr>
<td>account[fields][Phone Number]</td>
<td>Account phone number</td>
</tr>
<tr>
<td>accountContact[id]</td>
<td>Account Contact id</td>
</tr>
<tr>
<td>accountContact[account]</td>
<td>Account id</td>
</tr>
<tr>
<td>accountContact[contact]</td>
<td>Account contact id</td>
</tr>
<tr>
<td>accountContact[job_title]</td>
<td>Account contact job title</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact on an account is updated</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>account_contact_update</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of account (will be empty on contact removal)</td>
</tr>
<tr>
<td>customer_account_id</td>
<td>Customer's account id</td>
</tr>
<tr>
<td>orgname</td>
<td>Name of organization (will be empty on contact removal)</td>
</tr>
<tr>
<td>account[id]</td>
<td>Account id</td>
</tr>
<tr>
<td>account[name]</td>
<td>Account name</td>
</tr>
<tr>
<td>account[account_url]</td>
<td>Account url</td>
</tr>
<tr>
<td>account[created_timestamp]</td>
<td>Account created timestamp</td>
</tr>
<tr>
<td>account[updated_timestamp]</td>
<td>Account updated timestamp</td>
</tr>
<tr>
<td>account[fields][Description]</td>
<td>Account description</td>
</tr>
<tr>
<td>account[fields][Address 1]</td>
<td>Account address line 1</td>
</tr>
<tr>
<td>account[fields][Address 2]</td>
<td>Account address line 2</td>
</tr>
<tr>
<td>account[fields][City]</td>
<td>Account city</td>
</tr>
<tr>
<td>account[fields][State/Province]</td>
<td>Account state/providence</td>
</tr>
<tr>
<td>account[fields][Postal Code]</td>
<td>Account postal code</td>
</tr>
<tr>
<td>account[fields][Country]</td>
<td>Account country</td>
</tr>
<tr>
<td>account[fields][Number of Employees]</td>
<td>Account number of employees</td>
</tr>
<tr>
<td>account[fields][Annual Revenue]</td>
<td>Account annual revenue</td>
</tr>
<tr>
<td>account[fields][Industry/Vertical]</td>
<td>Account industry/vertical</td>
</tr>
<tr>
<td>account[fields][Phone Number]</td>
<td>Account phone number</td>
</tr>
<tr>
<td>accountContact[id]</td>
<td>Account Contact id</td>
</tr>
<tr>
<td>accountContact[account]</td>
<td>Account id</td>
</tr>
<tr>
<td>accountContact[contact]</td>
<td>Account contact id</td>
</tr>
<tr>
<td>accountContact[job_title]</td>
<td>Account contact job title</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A task is added to a contact</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>contact_task_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of account</td>
</tr>
<tr>
<td>customer_account_id</td>
<td>Customer's account id</td>
</tr>
<tr>
<td>orgname</td>
<td>Name of organization</td>
</tr>
<tr>
<td>task[id]</td>
<td>Task id</td>
</tr>
<tr>
<td>task[type_id]</td>
<td>Task type id</td>
</tr>
<tr>
<td>task[title]</td>
<td>Task title</td>
</tr>
<tr>
<td>task[note]</td>
<td>Task note</td>
</tr>
<tr>
<td>task[dueDate]</td>
<td>Task due date</td>
</tr>
<tr>
<td>task[duedate_iso]</td>
<td>Task due date, iso format</td>
</tr>
<tr>
<td>task[edate]</td>
<td>Task creation date</td>
</tr>
<tr>
<td>task[edate_iso]</td>
<td>Task creation date, iso format</td>
</tr>
<tr>
<td>task[type_title]</td>
<td>Type title</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new list is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>list_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>list[id]</td>
<td>New List ID</td>
</tr>
<tr>
<td>list[userid]</td>
<td>User ID who created this list</td>
</tr>
<tr>
<td>list[name]</td>
<td>Name of this list</td>
</tr>
<tr>
<td>list[sender_addr1]</td>
<td>Street address line 1</td>
</tr>
<tr>
<td>list[sender_addr2]</td>
<td>Street address line 2</td>
</tr>
<tr>
<td>list[sender_city]</td>
<td>Street address city</td>
</tr>
<tr>
<td>list[sender_zip]</td>
<td>Street address zip/postal code</td>
</tr>
<tr>
<td>list[sender_state]</td>
<td>Street address state</td>
</tr>
<tr>
<td>list[sender_country]</td>
<td>Street address country</td>
</tr>
<tr>
<td>list[fulladdress]</td>
<td>Street full address (on a single line)</td>
</tr>
<tr>
<td>list[sender_url]</td>
<td>URL associated with this list</td>
</tr>
<tr>
<td>list[sender_reminder]</td>
<td>Reminder to contacts for this list (why you are emailing them)</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new contact is subscribed</h3>
<p class="notify notice">This hook will not run during mass inserts such as contact imports.</p>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>subscribe</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>form[id]</td>
<td>Subscription form ID (if applicable)</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
</tbody>
</table>
An unsubscription occurs
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>unsubscribe</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID (if initiated from admin)</td>
</tr>
<tr>
<td>list[][id]</td>
<td>List ID (if initiated from public)</td>
</tr>
<tr>
<td>form[id]</td>
<td>(Un)Subscription form ID (if applicable)</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the unsubscribe (if applicable)</td>
</tr>
<tr>
<td>campaign[name]</td>
<td>Name of the campaign</td>
</tr>
<tr>
<td>campaign[status]</td>
<td>Campaign status code</td>
</tr>
<tr>
<td>campaign[type]</td>
<td>Type of campaign (e.g., single)</td>
</tr>
<tr>
<td>campaign[recipients]</td>
<td>Total count of recipients</td>
</tr>
<tr>
<td>campaign[message][id]</td>
<td>ID of the message sent</td>
</tr>
<tr>
<td>campaign[message][subject]</td>
<td>Subject line of the campaign</td>
</tr>
<tr>
<td>unsubscribe[reason]</td>
<td>Reason for unsubscribing (if supplied)</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[customer_acct_name]</td>
<td>Contact's account name</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>active_subscriptions[0]</td>
<td>ID of active subscription</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of the customer account</td>
</tr>
<tr>
<td>customer_acct_id</td>
<td>ID of the customer account</td>
</tr>
<tr>
<td>orgname</td>
<td>Organization name</td>
</tr>
<tr>
<td>account_id</td>
<td>ActiveCampaign Account ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact's details are updated</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>update</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new contact note is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>subscriber_note</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>note</td>
<td>Note text</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A campaign starts sending</h3>
<div class="ac_info-warning mb40">
<p>Campaigns triggered by Events, such as Autoresponder Campaigns and Automation driven Campaigns, will not
trigger webhooks.</p>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>sent</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID</td>
</tr>
<tr>
<td>campaign[status]</td>
<td>Campaign status</td>
</tr>
<tr>
<td>campaign[recipients]</td>
<td>Total contacts</td>
</tr>
<tr>
<td>campaign[type]</td>
<td>Type of campaign (single, RSS, etc)</td>
</tr>
<tr>
<td>campaign[webcopy_url]</td>
<td>The 'web copy' (social share) URL</td>
</tr>
</tbody>
</table>
A campaign is opened by a contact
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>open</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the open</td>
</tr>
<tr>
<td>campaign[name]</td>
<td>Name of the campaign</td>
</tr>
<tr>
<td>campaign[status]</td>
<td>Campaign status code</td>
</tr>
<tr>
<td>campaign[type]</td>
<td>Type of campaign (e.g., single)</td>
</tr>
<tr>
<td>campaign[recipients]</td>
<td>Total count of recipients</td>
</tr>
<tr>
<td>campaign[message][id]</td>
<td>ID of the message sent</td>
</tr>
<tr>
<td>campaign[message][subject]</td>
<td>Subject line of the campaign</td>
</tr>
<tr>
<td>User-Agent</td>
<td>Browser/Client User-Agent string</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[customer_acct_name]</td>
<td>Contact's account name</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of the customer account</td>
</tr>
<tr>
<td>customer_acct_id</td>
<td>ID of the customer account</td>
</tr>
<tr>
<td>orgname</td>
<td>Organization name</td>
</tr>
<tr>
<td>account_id</td>
<td>ActiveCampaign Account ID</td>
</tr>
</tbody>
</table>
A campaign link was clicked by a contact
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>type</td>
<td>click</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_from</td>
<td>Who triggered the webhook to run (system, public, or admin)</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the link click</td>
</tr>
<tr>
<td>campaign[name]</td>
<td>Name of the campaign</td>
</tr>
<tr>
<td>campaign[status]</td>
<td>Campaign status code</td>
</tr>
<tr>
<td>campaign[type]</td>
<td>Type of campaign (e.g., single)</td>
</tr>
<tr>
<td>campaign[recipients]</td>
<td>Total count of recipients</td>
</tr>
<tr>
<td>campaign[message][id]</td>
<td>ID of the message sent</td>
</tr>
<tr>
<td>campaign[message][subject]</td>
<td>Subject line of the campaign</td>
</tr>
<tr>
<td>link[id]</td>
<td>Link system ID</td>
</tr>
<tr>
<td>link[url]</td>
<td>Link URL (that was clicked)</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[customer_acct_name]</td>
<td>Contact's account name</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>customer_acct_name</td>
<td>Name of the customer account</td>
</tr>
<tr>
<td>customer_acct_id</td>
<td>ID of the customer account</td>
</tr>
<tr>
<td>orgname</td>
<td>Organization name</td>
</tr>
<tr>
<td>account_id</td>
<td>ActiveCampaign Account ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact replies to a campaign</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>reply</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with this reply</td>
</tr>
<tr>
<td>result</td>
<td>How we logged the message. ('forward','unsub','change','spam','challenge','vacation')</td>
</tr>
<tr>
<td>message</td>
<td>Full message source received</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact forwards a campaign (through our forward link)</h3>
<p class="notify notice">This won't work if the contact uses their email client's Forward option.</p>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>forward</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the forward</td>
</tr>
<tr>
<td>forward[count]</td>
<td>Total number of emails that were forwarded</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact shares a campaign to Facebook or Twitter</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>share</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID or IDs associated with this campaign</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the share</td>
</tr>
<tr>
<td>share[network]</td>
<td>Facebook or Twitter</td>
</tr>
<tr>
<td>share[network_id]</td>
<td>Facebook or Twitter ID or username</td>
</tr>
<tr>
<td>share[content]</td>
<td>Social network post content</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new bounce occurs after sending a campaign</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>bounce</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>List ID associated with this contact</td>
</tr>
<tr>
<td>campaign[id]</td>
<td>Campaign ID associated with the bounce</td>
</tr>
<tr>
<td>bounce[type]</td>
<td>Type of bounce (hard or soft)</td>
</tr>
<tr>
<td>bounce[code]</td>
<td>Bounce code</td>
</tr>
<tr>
<td>bounce[description]</td>
<td>Bounce description</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>deal[id]</td>
<td>The ID of the deal</td>
</tr>
<tr>
<td>deal[title]</td>
<td>The title of the deal</td>
</tr>
<tr>
<td>deal[create_date]</td>
<td>The creation date of the deal</td>
</tr>
<tr>
<td>deal[orgid]</td>
<td>The organization ID associated with the deal</td>
</tr>
<tr>
<td>deal[orgname]</td>
<td>The organization name associated with the deal</td>
</tr>
<tr>
<td>deal[stageid]</td>
<td>The stage ID associated with the deal</td>
</tr>
<tr>
<td>deal[stage_title]</td>
<td>The stage title associated with the deal</td>
</tr>
<tr>
<td>deal[pipelineid]</td>
<td>The pipeline ID associated with the deal</td>
</tr>
<tr>
<td>deal[pipeline_title]</td>
<td>The pipeline title associated with the deal</td>
</tr>
<tr>
<td>deal[value]</td>
<td>The value (dollar amount) of the deal</td>
</tr>
<tr>
<td>deal[currency]</td>
<td>The currency (of the value) of the deal</td>
</tr>
<tr>
<td>deal[currency_symbol]</td>
<td>The currency symbol of the value of the deal</td>
</tr>
<tr>
<td>deal[owner]</td>
<td>The owner (user ID) of the deal</td>
</tr>
<tr>
<td>deal[owner_firstname]</td>
<td>The owner (user) first name of the deal</td>
</tr>
<tr>
<td>deal[owner_lastname]</td>
<td>The owner (used) last name of the deal</td>
</tr>
<tr>
<td>deal[contactid]</td>
<td>The contact ID associated with the deal</td>
</tr>
<tr>
<td>deal[contact_email]</td>
<td>The contact email address associated with the deal</td>
</tr>
<tr>
<td>deal[contact_firstname]</td>
<td>The contact first name associated with the deal</td>
</tr>
<tr>
<td>deal[contact_lastname]</td>
<td>The contact last name associated with the deal</td>
</tr>
<tr>
<td>deal[status]</td>
<td>The status of the deal</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">An existing deal is updated</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_update</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>deal[id]</td>
<td>The ID of the deal</td>
</tr>
<tr>
<td>deal[title]</td>
<td>The title of the deal</td>
</tr>
<tr>
<td>deal[create_date]</td>
<td>The creation date of the deal</td>
</tr>
<tr>
<td>deal[orgid]</td>
<td>The organization ID associated with the deal</td>
</tr>
<tr>
<td>deal[orgname]</td>
<td>The organization name associated with the deal</td>
</tr>
<tr>
<td>deal[stageid]</td>
<td>The stage ID associated with the deal</td>
</tr>
<tr>
<td>deal[stage_title]</td>
<td>The stage title associated with the deal</td>
</tr>
<tr>
<td>deal[pipelineid]</td>
<td>The pipeline ID associated with the deal</td>
</tr>
<tr>
<td>deal[pipeline_title]</td>
<td>The pipeline title associated with the deal</td>
</tr>
<tr>
<td>deal[value]</td>
<td>The value (dollar amount) of the deal</td>
</tr>
<tr>
<td>deal[currency]</td>
<td>The currency (of the value) of the deal</td>
</tr>
<tr>
<td>deal[currency_symbol]</td>
<td>The currency symbol of the value of the deal</td>
</tr>
<tr>
<td>deal[owner]</td>
<td>The owner (user ID) of the deal</td>
</tr>
<tr>
<td>deal[owner_firstname]</td>
<td>The owner (user) first name of the deal</td>
</tr>
<tr>
<td>deal[owner_lastname]</td>
<td>The owner (used) last name of the deal</td>
</tr>
<tr>
<td>deal[contactid]</td>
<td>The contact ID associated with the deal</td>
</tr>
<tr>
<td>deal[contact_email]</td>
<td>The contact email address associated with the deal</td>
</tr>
<tr>
<td>deal[contact_firstname]</td>
<td>The contact first name associated with the deal</td>
</tr>
<tr>
<td>deal[contact_lastname]</td>
<td>The contact last name associated with the deal</td>
</tr>
<tr>
<td>deal[status]</td>
<td>The status of the deal</td>
</tr>
<tr>
<td>updated_fields[*]</td>
<td>The field names that were updated with the request</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal note is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_note_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>deal[id]</td>
<td>The ID of the deal</td>
</tr>
<tr>
<td>deal[title]</td>
<td>The title of the deal</td>
</tr>
<tr>
<td>deal[create_date]</td>
<td>The creation date of the deal</td>
</tr>
<tr>
<td>deal[orgid]</td>
<td>The organization ID associated with the deal</td>
</tr>
<tr>
<td>deal[orgname]</td>
<td>The organization name associated with the deal</td>
</tr>
<tr>
<td>deal[stageid]</td>
<td>The stage ID associated with the deal</td>
</tr>
<tr>
<td>deal[stage_title]</td>
<td>The stage title associated with the deal</td>
</tr>
<tr>
<td>deal[pipelineid]</td>
<td>The pipeline ID associated with the deal</td>
</tr>
<tr>
<td>deal[pipeline_title]</td>
<td>The pipeline title associated with the deal</td>
</tr>
<tr>
<td>deal[value]</td>
<td>The value (dollar amount) of the deal</td>
</tr>
<tr>
<td>deal[currency]</td>
<td>The currency (of the value) of the deal</td>
</tr>
<tr>
<td>deal[currency_symbol]</td>
<td>The currency symbol of the value of the deal</td>
</tr>
<tr>
<td>deal[owner]</td>
<td>The owner (user ID) of the deal</td>
</tr>
<tr>
<td>deal[owner_firstname]</td>
<td>The owner (user) first name of the deal</td>
</tr>
<tr>
<td>deal[owner_lastname]</td>
<td>The owner (used) last name of the deal</td>
</tr>
<tr>
<td>deal[contactid]</td>
<td>The contact ID associated with the deal</td>
</tr>
<tr>
<td>deal[contact_email]</td>
<td>The contact email address associated with the deal</td>
</tr>
<tr>
<td>deal[contact_firstname]</td>
<td>The contact first name associated with the deal</td>
</tr>
<tr>
<td>deal[contact_lastname]</td>
<td>The contact last name associated with the deal</td>
</tr>
<tr>
<td>deal[status]</td>
<td>The status of the deal</td>
</tr>
<tr>
<td>note[id]</td>
<td>The unique ID for the new note</td>
</tr>
<tr>
<td>note[text]</td>
<td>The text for the new note</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal pipeline is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_pipeline_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>pipeline[id]</td>
<td>The unique ID of the new pipeline</td>
</tr>
<tr>
<td>pipeline[title]</td>
<td>The title of the new pipeline</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal stage is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_stage_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>stage[id]</td>
<td>The unique ID of the new stage</td>
</tr>
<tr>
<td>stage[title]</td>
<td>The title of the new stage</td>
</tr>
<tr>
<td>stage[color]</td>
<td>The header color of the new stage</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal task is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_task_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>deal[id]</td>
<td>The ID of the deal</td>
</tr>
<tr>
<td>deal[title]</td>
<td>The title of the deal</td>
</tr>
<tr>
<td>deal[create_date]</td>
<td>The creation date of the deal</td>
</tr>
<tr>
<td>deal[orgid]</td>
<td>The organization ID associated with the deal</td>
</tr>
<tr>
<td>deal[orgname]</td>
<td>The organization name associated with the deal</td>
</tr>
<tr>
<td>deal[stageid]</td>
<td>The stage ID associated with the deal</td>
</tr>
<tr>
<td>deal[stage_title]</td>
<td>The stage title associated with the deal</td>
</tr>
<tr>
<td>deal[pipelineid]</td>
<td>The pipeline ID associated with the deal</td>
</tr>
<tr>
<td>deal[pipeline_title]</td>
<td>The pipeline title associated with the deal</td>
</tr>
<tr>
<td>deal[value]</td>
<td>The value (dollar amount) of the deal</td>
</tr>
<tr>
<td>deal[currency]</td>
<td>The currency (of the value) of the deal</td>
</tr>
<tr>
<td>deal[currency_symbol]</td>
<td>The currency symbol of the value of the deal</td>
</tr>
<tr>
<td>deal[owner]</td>
<td>The owner (user ID) of the deal</td>
</tr>
<tr>
<td>deal[owner_firstname]</td>
<td>The owner (user) first name of the deal</td>
</tr>
<tr>
<td>deal[owner_lastname]</td>
<td>The owner (used) last name of the deal</td>
</tr>
<tr>
<td>deal[contactid]</td>
<td>The contact ID associated with the deal</td>
</tr>
<tr>
<td>deal[contact_email]</td>
<td>The contact email address associated with the deal</td>
</tr>
<tr>
<td>deal[contact_firstname]</td>
<td>The contact first name associated with the deal</td>
</tr>
<tr>
<td>deal[contact_lastname]</td>
<td>The contact last name associated with the deal</td>
</tr>
<tr>
<td>deal[status]</td>
<td>The status of the deal</td>
</tr>
<tr>
<td>task[id]</td>
<td>The unique ID of the new task</td>
</tr>
<tr>
<td>task[type_id]</td>
<td>The task type ID of the new task</td>
</tr>
<tr>
<td>task[note]</td>
<td>The note of the new task</td>
</tr>
<tr>
<td>task[duedate]</td>
<td>The due date of the new task</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new deal task type is created</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>deal_tasktype_add</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>tasktype[id]</td>
<td>The unique ID of the new task type</td>
</tr>
<tr>
<td>tasktype[title]</td>
<td>The title of the new task type</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A new SMS message is sent</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>sms_sent</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>sms[id]</td>
<td>Unique system ID for this SMS message</td>
</tr>
<tr>
<td>sms[recipient]</td>
<td>SMS recipient's phone number</td>
</tr>
<tr>
<td>sms[successful]</td>
<td>Whether or not the SMS was successfully sent (1 = yes, 0 = no)</td>
</tr>
<tr>
<td>sms[comment]</td>
<td>Error response from SMS provider (if any)</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A SMS message is replied to</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>sms_reply</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>sms[id]</td>
<td>Unique system ID for this SMS message</td>
</tr>
<tr>
<td>sms[reply]</td>
<td>Text included with the SMS message</td>
</tr>
<tr>
<td>sms[result]</td>
<td>Action taken as a result of the SMS message (example values: 'subscribe', 'forward', 'unsub',
'resub')
</td>
</tr>
</tbody>
</table>
<h3 class="fw-medium mb20">A contact unsubscribes via SMS</h3>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr>
<tr>
<td>url</td>
<td>The webhook URL</td>
</tr>
<tr>
<td>type</td>
<td>sms_unsub</td>
</tr>
<tr>
<td>date_time</td>
<td>Date/time that the webhook ran</td>
</tr>
<tr>
<td>initiated_by</td>
<td>Source/section of the software that triggered the webhook to run</td>
</tr>
<tr>
<td>list</td>
<td>Always set to 0 for this webhook.</td>
</tr>
<tr>
<td>contact[id]</td>
<td>Contact system ID</td>
</tr>
<tr>
<td>contact[email]</td>
<td>Contact email address</td>
</tr>
<tr>
<td>contact[first_name]</td>
<td>Contact first name</td>
</tr>
<tr>
<td>contact[last_name]</td>
<td>Contact last name</td>
</tr>
<tr>
<td>contact[phone]</td>
<td>Contact phone number (used for SMS)</td>
</tr>
<tr>
<td>contact[tags]</td>
<td>List of contact tags</td>
</tr>
<tr>
<td>contact[orgname]</td>
<td>Contact organization name (if plan allows)</td>
</tr>
<tr>
<td>contact[ip]</td>
<td>Contact IP address</td>
</tr>
<tr>
<td>contact[fields][*]</td>
<td>Contact custom fields. Where * is the custom field ID</td>
</tr>
<tr>
<td>sms[id]</td>
<td>Unique system ID for this SMS message</td>
</tr>
<tr>
<td>sms[phone]</td>
<td>SMS recipient's phone number</td>
</tr>
</tbody>
</table>
<h2 class="fw-medium mb20">Custom Object Webhooks</h2>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td width="305"><h5 class="text_left">Field</h5></td>
<td><h5 class="text_left">Description</h5></td>
</tr><tr>
<td>eventType</td>
<td>Type of event received, either <b>create</b>, <b>update</b>, or <b>delete</b></td>
</tr><tr>
<td>id</td>
<td>Custom Object <a href="https://developers.activecampaign.com/reference/custom-object-records">record id.</a></td>
</tr><tr>
<td>schemaId</td>
<td>Custom Object <a href="https://developers.activecampaign.com/reference/custom-object-schemas#schema-properties">schema ID</a>.</td>
</tr><tr>
<td>externalId</td>
<td>Custom Object <a href="https://developers.activecampaign.com/reference/custom-object-records">record externalId</a>. Only present in payload if it is present in the object.</td>
</tr><tr>
<td>fields</td>
<td>List of fields in this custom object. These are defined in the custom object schema. This is an
associative array in the format fieldName: fieldValue. For example:
<pre>"fields":[ {"id":"some-field","value":"12345", "oldValue":"45678"} ]</pre>
<p><b>oldValue</b> is only present on <b>update</b> webhooks.</p>
In case of a <b>delete</b> event, this is an empty array.
</td>
</tr> <tr>
<td>relationships</td>
<td>List of relationships from this custom object to other ActiveCampaign objects. This is an associative
array in the format relationshipName: list of ids. For example:
<pre>"relationships: {"primary-contact":["9"]}</pre>
In case of a <b>delete</b> event, this is an empty array.
</td>
</tr> <tr>
<td>createdTimestamp</td>
<td>Timestamp of custom object creation in the format <b>2023-11-13T21:45:11.935Z</b></td>
</tr><tr>
<td>updatedTimestamp</td>
<td>Timestamp of last update to the custom object in the format <b>2023-11-13T21:45:11.935Z</b></td>
</tr></tbody>
</table>