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

Help with /activities/contacts_file_import

HofstraContinuingEducation
Rookie
0 Votes

Hello, does anyone have a sample of how to use this end point? I am just trying to use curl to call the endpoint keep a list up-to-date with what's in the CSV file on my desktop. I think the main thing I am getting tripped up on his how to use the client id / device code / authorization token / etc. Thank you. 

1 REPLY 1
John__B
Employee
0 Votes

Hello HofstraContinuingEducation,

 

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.

 

The request for V3 application code samples is currently under review. However, we're currently still adding endpoints and capabilities to the V3 API, and do not plan to publish official sample apps until that process is complete. Your feedback and experience with this request is essential to improving our product, so thank you for reaching out to us regarding this matter.

 

For updates on which new features and endpoints have been released for Constant Contact's V3 API, you can stay updated by checking the Constant Contact V3 API Release Notes page:

 

V3 API - Release Notes

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

 

In the meantime, here are the example calls that are currently available for V3:

 

V3 Code Samples:

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

 

Additionally, you can utilize our API Reference tester to test out the functionality of our available endpoints to see how they will work once programmed within your application:

https://v3.developer.constantcontact.com/api_reference/index.html

 

In order to use the V3 API endpoints, you’ll need to configure one of our available OAuth2 authorization flows. Since you mentioned the device code, I’m including our documentation for setting up the Device authorization flow below, along with overview documentation for all of our available authorization flows. Essentially, after completing the flow, you are issued an Access Token, which is sent in the authorization header of your request to the  /activities/contacts_file_import endpoint.

 

OAuth2 Device Flow:

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

 

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