Hello SundeepM58,
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 sounds like you are trying to use a 3rd-party app that is asking you for an API Key. Usually an application developer will generate their own API Key that lets their app integrate with Constant Contact, however some developers require you to provide them with an API Key. Since this process was designed to be done by the app developers themselves, it can be confusing for end users to find or generate this information.
We have two different versions of our API, so the steps you take to generate an API key will depend on what version of our API the integration you are looking to connect with uses, as they are created through different platforms and are not cross compatible.
If the app you are using is asking you for an API Key and Secret, then it most likely utilizes our V3 API. Your 3rd party integration may also provide you with the Redirect URI to add to your key. Follow steps 1-3 at the following link.: https://v3.developer.constantcontact.com/api_guide/apps_create.html
If the app you are using is asking you to also provide an “Access Token” with your API key, then it most likely utilizes our legacy V2 API, and you'd want to follow the steps at the following link instead:
https://community.constantcontact.com/t5/Community-News/How-to-generate-an-API-Key-and-Access-Token/ba-p/293856
*You will need to create a Mashery login for V2, as it does not use the same UN/PW as your Constant Contact account
Please have a look and let us know if you have any other questions!
Regards,
... View more