API and Manual Login?

AndrewW49925
Rookie
0 Votes

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?

 

 

 

image.png

1 REPLY 1
Jimmy_D
Employee
0 Votes

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.


Regards,
Jimmy D.
Tier II API Support Engineer
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