API and Manual Login?


API and Manual Login?

I want to interact with Constant Contact with Server Side code.  Does the API v3 require a button click by a user to login as shown in the attached screen?  This will not work in my scenario. Does API v2 allow full access without manual intervention?






Hello @AndrewW49925,


Thank you for reaching out to Constant Contact's API Support.


Both of our API versions require an initial user interaction to login to the Constant Contact account and click the Allow button. Once that happens once you get an Access Token. The difference is when the Access Token expires. In our v2 API the token is not super secure in that it expires after multiple years. In our v3 API the token expires after 24 hours. When using our v3 API you also get a Refresh Token to refresh the Access Token when it expires, this does not require the user to interact.

Jimmy D.
Tier II API Support Engineer
Developer Portal

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

Visit Page