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.

Basic HTTPS authentication and contact IDs

Highlighted
New Member

Basic HTTPS authentication and contact IDs

Hi,


We are using the Constant Contact API over REST to add contacts to contact lists and update their details. Recently we switched the authentication to Basic over HTTPS and we would like a confirmation if it is the right approach:



  • all requests are sent over HTTPS with Basic authentication in place

  • the name space URIs were left unchanged

  • the contact and contact list IDs were left as they were (with "http" in front, e.g.: http://api.constantcontact.com/ws/customers/...)


We are specially worried about the third point. Is this correct? Or should we change the IDs to the "http" form too (the update contact method didn't work like this).


Thank you,


Cristi

1 REPLY 1
Highlighted
Moderator

Hi Cristi, You are correct,

Hi Cristi,


You are correct, it does not require any change to the URIs in the XML documents.  The only change which needs to be made are the posted to URIs.  

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