Announcing our brand new Campaign Builder!

Re: How to generate an API Key and Access Token

LauraP670
Rookie
0 Votes

I followed most of the steps above and successfully generated

  1. API Key
  2. API Secret

I am not able to generate an  access token at the mashery URL above. I get the following error when following those steps above

 

"We were unable to find the API Key you provided." - and it is not defaulted in a dropbox when I am logged in.

 

I need to connect from an external application. I am testing from curl. I have not found a sound URL with complete instructions yet - and many look outdated. Please advise.

1 REPLY 1
Courtney_E
Moderator
0 Votes

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions
about building into Constant Contact's API.

 

It looks like we've already followed up with you directly via email, but here is the information provided for visibility on the forum:
Based on the information provided it appears that you're requesting information for our V3 API which generates the API Key and Secret but doesn't give you an Access Token right away as we use OAuth 2.0 for verification instead. When it comes to our V3 API we don't also don't utilize Mashery. If you need an API Access Token for our V3 API below are links to steps on how to obtain the Access Token along with Access Token Information.

 

V3 API:
Retrieve the Access Token
https://developer.constantcontact.com/api_guide/client_flow.html#step-3-retrieve-the-access-token
Access Token Information Method
https://developer.constantcontact.com/api_guide/token_info_method.html

 

Also, just in case this is what you needed instead, here are steps on how to obtain the Access Token for our V2 API.
V2 API:
How to generate an API Key and Access Token:
https://community.constantcontact.com/t5/Community-News/How-to-generate-an-API-Key-and-Access-Token/...


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up

Polls
How confident are you about the effectiveness of your current marketing strategy?

Top Choice: Not confident at all (72%)