Hello,
According to the documentation here: http://www.activecampaign.com/api/webhooks.php
A webhook run when a contact is added to a list should send list[id] but I don’t seem to be getting it. What I get is:
id=135681 <== ID of the contact
email=test03151701@test.com
first_name=Peter
last_name=Smith
phone=
orgname=
tags=
ip4=127.0.0.1
fields=Array <== an array of custom fields, list ID isn't in there
seriesid=162 <== automation ID
Is there a way to get the webhook to pass the list ID? Am I missing something?
It is possible to add a contact to AC without subscribing them to a list. Are you sure they are being added to a list when they are being created, or that the Webhook “list” is defined when you create the webhook?
Ohhhh I see, interesting. Yeah I was using the webhooks from the settings (Settings --> Developer --> Manage Webhook). There are a list of different webhooks you can trigger whenever things happen in AC.
Try setting it up from in there, otherwise you are using a different kind of webhook, and you are right probably wont have the list id.