Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Constant Contact wants to help you succeed! We’re celebrating our professional service programs on the Constant Contact Community this month and you have a chance to try one of the services for free! Learn more.
I double checked my code and all I see is the variable called "token", which is being passed into the constructor when initializing a new instance of the ConstantContact class. The only place I found a variable called "accessToken" is in the ConstantContact .NET wrapper that I downloaded from GitHub. Are you suggesting that I need to call a different method in the .NET wrapper that accepts the API key and token as parameters? Thanks!
... View more
I am trying to access the API using the API Key and Token via the .NET wrapper. string token = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"; string apiKey = "xxxxxxxxxxxxxxxxxxxxxxxx"; var constantContact = new ConstantContact(apiKey, token); var acctInfo = constantContact.GetAccountSummaryInformation(); An exception occurs in GetAccountSummary with the message 401 unauthorized. I also receive the 401 unauthorized when I try sending a request with the API Key and Token using Fiddler.Using the same API Key and Token, I can successfully access the API using the IO Docs. What am I doing wrong? Thanks!
... View more