The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Scheduling and Sending a Campaign

Highlighted
Occasional Contributor

Scheduling and Sending a Campaign

Hi,


Anyone can help us regarding the Scheduling and Sending Campaigns through integration of the Constant Contact API in PHP script? How to achieve this functionality?

 

Our Login name is: bookafishingcharter

Thanks & regards
Laxmi Prasad Mishra

13 REPLIES 13
Highlighted
Occasional Contributor

Re: Scheduling and Sending a Campaign

Hello,

 

Is there anyone to help us regarding this Schedulinh and Sending emails.

Highlighted
Employee

Re: Scheduling and Sending a Campaign

Hello,

 

The API that allows scheduling email campaigns to be sent must get prior approval.  Please email our AppConnect Team here, and they will contact you with the information on how to go forward.  Once you receive approval, we will also send you our documentation on how to do this with our API.

 

If you do need additional help, or have additional questions at that time, feel free to let us know.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Highlighted
Occasional Contributor

Re: Scheduling and Sending a Campaign

Hello,

 

Could you provide us the total PHP script to cover all the functionality (which are listed in the URL: http://developer.constantcontact.com/) of the Constant Contact API?

 

Any kind of help here, will be highly appreciated.

 

Thanks & Regards,

Laxmi Prasad Mishra

Highlighted
Employee

Re: Scheduling and Sending a Campaign

Hello,

 

We have PHP sample code, which you can find here, as well as a php library that you can get here.  The sample code provides examples on how to use our API in php.  The php library has a very extensive wiki, which you can find here, and gives you sample code on how to get started with using it.

 

If you run into any issues, or have specific questions on how to use parts of our API, please let me know and I can definitely help you get started!

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Highlighted
Occasional Contributor

Re: Scheduling and Sending a Campaign

Hello Benjamin,

 

When we are going to schedule a campaign through PHP script, it is returning an error message as shown below:

Constant Contact HTTP Request Exception: HTTP Status 403 - Access is denied

 

So, would you please look into this matter that why we are getting this error message?

 

Does it need any prior approval from Constant Contact? If so, then could you ask to the AppConnect team for getting the approval to us?

 

Please find below our Partner API details:

Login/Partner Name: *REMOVED FOR SECURITY REASONS
API Key: *REMOVED FOR SECURITY REASONS

 

I am looking forward for your reply.

 

Thanks & Regards

Laxmi Prasad Mishra

 

Highlighted
Occasional Contributor

Re: Scheduling and Sending a Campaign

Hello,

 

Is there anyone who can help us, regarding to resolve the error issue of Scheduling and Sending an Email Campaign? We are getting the following error message, when, we are going to schedule a Email Campaign through PHP script.

 

Constant Contact HTTP Request Exception: HTTP Status 403 - Access is denied

 

Please find below our Partner API details:


Login/Partner Name: *REMOVED FOR SECURITY REASONS
API Key: *REMOVED FOR SECURITY REASONS


 

Any help from your side will be highly appreciated.

 

Thanks & Regards

Laxmi Prasad Mishra

Highlighted
Employee

Re: Scheduling and Sending a Campaign

Hello Nathan, I would like to apologize for the inconvenience that you are having. I took a look at your account and I do see that you have access to the scheduling API. However, I believe the problem you are running into is that you have two API keys, and one of them does not have access and one of them does. Because you have already gotten access on one API key for scheduling, I am going to set the other one up for scheduling as well, and you should stop having the issue you are running into. If you have any questions please let me know. Regards,
Benjamin Soder
NOC Analyst
Constant Contact
Highlighted
Regular Visitor

Re: Scheduling and Sending a Campaign

Hi,

 

I got the approval for Scheduling and sending email campaign using API, but when I tried it I am getting  ar error 'The requested URL returned error: 415’. Please let me know what I am missing.

 

Thanks,

-PM

Highlighted
Moderator

Re: Scheduling and Sending a Campaign

This was handled via email support, but I wanted to point out the solution to the problem for anyone else who runs into this.

 

The problem was the URI that the request was being made to.  The resource in question did not support a POST request and was correctly returning a 415 error message.  Once we switched to the resource URI, the POST request was accepted and the email campaign was able to be scheduled.

Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured