Which API to use for PHP and autoresponder

Occasional Participant

Which API to use for PHP and autoresponder

Hello all,

I need to add an email address to a Constant Contact account from a PHP form processor as a secondary action, not the main purpose. It needs to be associated with an autoresponder that sends an automatic follow-up the next day.

Which API should I use? I see the code samples for PHP, but it's not clear to me which API they use. I think I want the Site Visitor API so I can add them to the autoresponder without a welcome email. Is there a sample on doing that in PHP?

Also, I see that I need to know the 'list number' to add them. How do I find that number for a given autoresponder?

Thanks in advance for your help!
3 REPLIES 3
Frequent Participant

Since you want to "can add them to the autoresponder without a welcome email" I think you will be using the SiteVisitor API. You will find sample code referenced at the bottom of this page.

thanks,
Tom M
Group Product Manager – Content Editing
Constant Contact
Occasional Participant

Thanks, that confirms what I thought. I'm still not clear on how to find the "list number" for the particular autoresponder.
Frequent Participant

The Site Visitor API does not use a List Number. It simply uses the Contact List Name.
Tom M
Group Product Manager – Content Editing
Constant Contact
Developer Portal

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

Visit Page