cancel
Showing results for 
Search instead for 
Did you mean: 
Constant Contact wants to help you succeed! We’re celebrating our professional service programs on the Constant Contact Community this month and you have a chance to try one of the services for free! Learn more.

Constant Contact API simple question

Highlighted
Occasional Contributor

Constant Contact API simple question

Hello,

 

I have a login form that is hosted on a server and I would like this email to go to the constant contact list.

 

What would be the simpliest way to do that? 

 

Ideally I would like to solve this through one cURL call per email.

 

Thank you.

4 REPLIES 4
CTCT Employee

Re: Constant Contact API simple question

Hi,

 

Sorry for the delay in response here. That is one of the most common uses of our API, and we have example signup forms that send email addresses into your account at the sample code tab on our developer website. Also see the Getting Started and API Keys tabs, since our sample signup forms will require you to generate a Mashery API key and access token.

 

Best Regards,

Shannon Wallace

Partner API Support Engineer

 

 

Occasional Contributor

Re: Constant Contact API simple question

Shannon,

 

Thank you for your reply.

 

I am getting a page not found error by following the link to the sample code.

CTCT Employee

Re: Constant Contact API simple question

That's odd; I just checked the link and it works for me. Regardless, if you go to http://developer.constantcontact.com (paste that link into your browser) and go to the "Code Samples" tab, that is the link I pointed to. Sorry about that.

 

Best Regards,

Shannon Wallace

Partner API Support Engineer

Occasional Contributor

Re: Constant Contact API simple question

Thank you,

 

This is very helpful.

 

I do have another question. How can I obtain the access token?

 

Would I need to do it through Mashery?