I've created a webhook for a list in my account with the API. Its active and tests ok (gets a 200 response back).
However, how do i capture the information it posts back with ColdFusion (9)? I'm currently dumping back the form and url variables of the page into a pdf thats saved. But returns blank!
Hmmm, i know the webhook is hitting my page (it generates a dated pdf when i run the test webhook api call)...
Bingo! Able to get the content now and use, however, a light oversight with the data provided:
No client ID is provided!
I know the list id is but i want to use the webhooks to email the new subscriber to the email address of the client.
There's no way to do this is there? (other than looping all lists in all clients until the id's match?)
Am i overlooking something?
Your not overlooking anything the Client ID is not available in the webhook data unfortunately. One option that is available to you is to include the Client ID in the URL used for the webhook notification. There's no restrictions on including query string information in your subscribed URL's.
Say you were subscribing with the URL
You could instead subscribe with the the URL
Ahhh brilliant, didnt think of that.
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.Get started for free