Import Contacts Multipart Endpoint

alyssalee
Regular Participant

Import Contacts Multipart Endpoint

I'm trying the java example for this endpoint as documented at http://developer.constantcontact.com/docs/bulk_activities_api/bulk-activities-addcontact-multipart.h... and receiving a 403 Forbidden response.  There is nothing in the documentation about now to include the api-key, so I have tried it without, as well as with including a query string on the post.  I have tried replacing the authentication header with both the api key and the authentication token and continue to get the 403 Forbidden.

 

Can someone tell me the correct way to authenticate with this method?  Thanks.

1 REPLY 1
Elijah_G
Member

Hello,

 

For multipart requests, the API key should be provided as a parameter of the URL. For bulk uploading contacts, it would be https://api.constantcontact.com/v2/activities/addcontacts?api_key=<APIKEY>

 

If you are running into problems with this approach, please let me know!

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

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

Visit Page