Simple Http request

ezaske
Participant

Hello,

My marketing department has a requirement to do a simple pull of activities from Constant Contact.  What I was hoping to do is a simple http pull request using Power Automate....don't need a big integration....just want to pull some activities and contacts.

I tried to use the HTTP request and could not find exactly how it needs to be set up.

Can anyone give me examples of what info I would need to supply to do this?

 

If not possible with Power Automate, is there a function in CC that allows me to setup a nightly dump somewhere?

 

Thanks.

1 REPLY 1
Courtney_E
Moderator

Hello ezaske,

 

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.

 

As Power Automate / Microsoft Flow is a 3rd party product and not built or supported by Constant Contact, we are limited in the support we can provide, but will try to answer any questions to the best of our ability as they pertain to Constant Contact’s API endpoints and functionality.

 

From what we understand, the issue that many users run into regarding using Power Automate  with Constant Contact's V3 API is how to refresh the token set (access token and refresh token), as our access tokens only have a lifespan of 24 hrs.

 

I was able to find some related 3rd party resources below that may offer some additional insight on possible resolutions if needed, but if you need further assistance with setting up an Oauth2 authentication within Power Automate / Microsoft Flow, you’d want to reach out to Microsoft's support team directly for assistance: 

 

[3rd party link] https://powerusers.microsoft.com/t5/Building-Flows/OAuth-2-how-to-re-authenticate-refresh-an-expired...

 

[3rd party link] 

https://stackoverflow.com/questions/67811804/capturing-user-authentication-and-refresh-tokens-power-...

 

As far as setting up a daily sync, the V3 OAuth2 Authorization Code Flow will likely be the best option:

 

V3 API - OAuth2 Authorization Code Flow

https://v3.developer.constantcontact.com/api_guide/server_flow.html

 

While our expertise is with our API itself as opposed to its implementation within any particular programming language and Constant Contact doesn’t offer any services as far as assisting with building custom integrations, we are happy to answer any questions pertaining to Constant Contact’s API endpoints, functionality, and documentation.

 

If you'd like, we're happy to provide more detailed steps regarding the authorization process, endpoint calls, and call schemas, to request this, please feel free to email our team directly at webservices@constantcontact.com and reference case # 31127905.

 

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

 


Regards,

Courtney E.
Tier II API Support Engineer

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