Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

We are trying to create token with lifetime validity, But its not working

TamN74
Rookie
0 Votes

Please share details to create token with lifetime validity 

1 REPLY 1
John__B
Employee
0 Votes

Hello TamN74,

 

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.

 

Our V3 API’s Access Tokens have a maximum lifespan of 24 hours. The V3 API’s Refresh Tokens have 2 options. The first and most secure option is Rotating Refresh Tokens. Rotating Refresh Tokens will expire after 180 days if never used. Once used to refresh the Access Token, you will receive a new Refresh Token value. The second option is Long Lived Refresh Tokens. Long Lived Refresh tokens never expire and the same Refresh Token value is used continuously to refresh the Access Token once it has expired. Both of these options are configured under the “OAuth2” tab of your API key in the Developer portal. For additional information, I’m including overview documentation on our available OAuth2 authorization flows below.

 

OAuth2 Overview:

https://developer.constantcontact.com/api_guide/auth_overview.html

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
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