Join our Ask A Trainer Sessions and Chat With our Experts!

Newbie Question on Setting Up Postman for Testing

SherylCattell
Rookie
0 Votes

I'm able to use the APIs to retrieve list and contacts and update values. But, I want to use the PHP code that I've written to manipulate a field for all contacts in a list. I can do that as well.

 

What I am trying to figure out is:

1) how to add the authorization code to my PHP file

2) how to use the authorization code that I've successfully executed in subsequent calls.

- WORKING: https://api.cc.email/v3/idfed?client_id={client_id}&redirect_uri=https://localhost&response_type=cod...

- NOT WORKING: https://api.cc.email/v3/contact_lists?client_id={client_id}

I'm using Postman so if there is a return code from https://api.cc.email/v3/idfed?client_id={client_id}&redirect_uri=https://localhost&response_type=cod... I'm not seeing it. Also, I'm not sure what the parameter name should be - is it access_token?

1 REPLY 1
Kara_D
Employee
0 Votes

Hi SherylCattell!

 

These questions will best be answered by the folks on our API team. You can reach them directly via email at webservices@constantcontact.com. For additional resources please check out the Developer Community pages found here


Kara.D
Community & Social Media Support

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.

You're not alone on your email marketing journey. Connect with a Marketing Advisor to see how they can help you develop the right strategy for your business and get the most out of your Constant Contact experience.
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