API is updating contact list but Welcome email doesnt trigger

Highlighted
CTCT Employee

Re: API is updating contact list but Welcome email doesnt trigger

Hi,

 

Elijah and I had essentially the same answer for this in our first replies.  I'm not sure how to clarify.  

 

You need to set the opt in source as "ACTION_BY_CONTACT" through the API.  

 

If you post your code (with any personal details redacted), I can most likely give you a more clear example or guidance.  This is the line you need if you're using our PHP wrapper (but replace $contactObj with whatever you called your contact object):

 

$contactObj->optInSource = "ACTION_BY_CONTACT";

 

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
Occasional Contributor

Re: API is updating contact list but Welcome email doesnt trigger

Your IP is included within the JSON request.

Your IP is also stored in the Constant contact database and linked to your email.

Whatever action you perform with that IP address will be registered as 'action by owner'.

Try going incognito and using another email address and see if it is fixed.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured