Enter the Share Your Success Sweepstakes 2024 For the Chance to Win Great Prizes!

Getting Error in Token

user1988680
Rookie
0 Votes
Hello, I have a simple requirement. If any user registers on my site, I want to store their basic data inside the contact list. However, I don't want to make the user aware that I'm storing their data, and I prefer not to ask the user for permission. Is there any way to obtain an access token directly from the client secret and client ID?
3 REPLIES 3
John__B
Employee
0 Votes

Hello user1988680,

 

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.

 

Constant Contact requires that account holders obtain permission from all of their contacts in order to email them or send SMS marketing campaigns to them. Below I’m including a detailed support article with information on Constant Contact’s email permission policy.

 

Constant Contact's email permission policy:

https://knowledgebase.constantcontact.com/articles/KnowledgeBase/5305-constant-contact-s-email-permi...

 

In order to obtain an Access Token, you’ll need to configure one of our available OAuth2 authorization flows. Below I’m including overview documentation for each of these flows.

 

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.
user1988680
Rookie
0 Votes

But i dont want to aware user about constant contact , I don't want to show ask user to grand permission popup I want only just insert contact in contact list, and I have client id and client secrate , can I do in this way like I m getting token from client id and secrate and and then I m get access token and using this access token I can insert contact in contact list

John__B
Employee
0 Votes

Hello user1988680,

 

Thank you for your reply. I apologize for the delay in our response. 

 

Just to clarify the authorization process for integrations such as sign-up forms, the Permission Request screen where a Constant Contact account user authorizes an integration on their account is only visible to the Constant Contact account user. Your website’s visitors/registrants would not see this screen. Once the integration is authorized on your account and configured to add contacts when they sign up through the form, website visitors can do so without interacting with the authorization flow. 

 

Please 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