List ID not being sent in Webhook for Add Contact

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?

1 Like

Hey @ehpub,

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?

Here is a screenshot of requestbin I just sent using the contact add webhook.

Maybe I’m doing it wrong, because I see you’re not getting the seriesid either.

I set mine up as an Automation attached to a list.

Contact Subscribes to List {listname} → Post Contact Info to {destination URL}

Is there a different place to set up a webhook, maybe?

Here’s part of a requestb.in … unfortunately we have so many fields they won’t all fit on one screenshot.

1 Like

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.

1 Like

Yup, setting up the webhook from settings->developer worked.

Thanks so much for the help!

2 Likes

@ehpub happy to help!

1 Like