Having Trouble with the adding contacts using the Activities Collection

Occasional Participant

Having Trouble with the adding contacts using the Activities Collection

I seem to have most everything else working, but am having issues with bulk adding contacts. I may be totally off-track here, but here's what I'm doing:

POSTing to:


With a header a Content-Type header:

And the BODY as (from the example - all on one line):

Am I totally off base? Missed a tiny little thing?

makes things.

Hi Jonah,

It looks like you're attempting to use the OAuth method for authentication. You're one of the first customers to get this up and running and it would be useful to find out a couple of things to help you.

1. What language are you coding this in?
2. What OAuth library or open source project did you use for the OAuth implementation?
3. Are you receiving an error code when you POST this activity (401, 409, 415, other)?
Dave Berard
Senior Product Manager, Constant Contact
Occasional Participant


Thanks for getting back to me on this. To your questions:

1) ColdFusion 8
2) This Lib: http://code.google.com/p/oauth/ plus some wrappers I wrote to simplify things.
3) I'm getting response: Error 401: Error reported: 401 Unauthorized

Like I said, the other actions seem to be working just fine.

makes things.
Frequent Participant

Hello Jonah,

Due to a security vulnerability acknowledged by the OAuth community, Constant Contact is retracting support for OAuth Authentication. API adopters should adopt Basic Authentication over HTTPs.

You can read more on the Basic Authentication model here.

We acknowledge and apologize for the impact this could have on developers currently building applications. We believe this action is in the best interests of our Constant Contact account holders and in the best interest of our API adopters (It appears likely that the security vulnerability will require coding changes on the part of both Constant Contact and any OAuth adopters. Since our OAuth implementation is quite new, few OAuth based implementations have been deployed - and hence it is our hope and belief that changing models now is the most expedient - and secure - approach).

If you are interested in more information on the nature of the OAuth security vulnerability, please see the OAuth security advisory, here.

Tom M
Group Product Manager – Content Editing
Constant Contact
Developer Portal

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

Visit Page