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.

API key required for all account?

Highlighted
Occasional Contributor

API key required for all account?

Hi 

 

I have generated a API key for a Parent account and tried to use it to pull information from sub-accounts but I get Unauthorized response.

 

Do I need to create a API for all sub-accounts?

 

Thanks,

Nabeel

2 REPLIES 2
Highlighted
Occasional Contributor

Re: API key required for all account?

I am sorry it does work.

 

I took the latest of the C# library for ConstactContatUtlity from github and tried to use AuthenticationData which requieres below input

-Api key

-Account user name

-Password

 

Earlier I was using another version on the C# Library for ConstactContatUtlity for which AuthenticationData required only

-Account user name

-Token (Auth Token)

 

But I need to work with the token instead of the password, how do I establish that?

 

Thanks,
Nabeel

Highlighted
Employee

Re: API key required for all account?

Hi Nabeel,

 

I am addressing this question in this thread.

 

Thanks!

Shannon W.

API Support Specialist

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