authenticate user before calling

Occasional Participant

authenticate user before calling

current process:

step 1. Log in to constant contact

step 2. open this link in the browser,2,3,4,5,6,7,9,10&type...
step 3. copy the result set and save as .json file


we want to automate the process. what is the cleanest way to automate step 1 and 2? 

we have an apikey if that is needed.


Thank you



Hello TaylorM7,


The way you are looking to access the account and pull up data is not something that is supported. Actually it should not be used at all. Using one of our internal URLs in this manner is not the intended use and would be best if it did not continue.


I am happy to give you information on how to do this with your API key however. You will first want to check out the main API Documents section here to get an overview of how to use our API.


The link you provided looks like you are trying to get the summary of your campaigns in the account. So you will need to "log in" to the account usually using oAuth2 which can be found here.


From there you will use a GET method to pull the summary status of your campaigns and that can be found here.


You might instead want the reporting details of your campaigns and that can be pulled using this information.


Let me know if this helps out.

Jimmy D.
Tier II API Support Engineer
Developer Portal

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

Visit Page