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

Is there any CC API PHP library for V3 ?

SOLVED
Go to solution
MeysamM2
Rookie
0 Votes

 

Hi,

 

I know there is an API php library for v2 here: 

https://developer.constantcontact.com/libraries/libraries.html

and I'm sure it's not compatible with API v3.

 

Is there any API library for V3 ?

 

Thanks.

1 ACCEPTED SOLUTION
David_B.
Employee
0 Votes

Hello,

 

Currently we do not have any SDK wrapper libraries for our new V3 API as our development focus is on building out additional features. You can find full documentation on our V3 version here: https://v3.developer.constantcontact.com/api_guide/getting_started.html


Regards,
David B.
Tier II API Support Engineer

View solution in original post

4 REPLIES 4
David_B.
Employee
0 Votes

Hello,

 

Currently we do not have any SDK wrapper libraries for our new V3 API as our development focus is on building out additional features. You can find full documentation on our V3 version here: https://v3.developer.constantcontact.com/api_guide/getting_started.html


Regards,
David B.
Tier II API Support Engineer

MeysamM2
Rookie
0 Votes

 

David,

 

Thank you for your message. 

I have one more question regarding API V3. I'm following the steps here for server_flow Oauth2.0: 

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

 

In step 4, I'm not sure where to find "client_secret". I went to "My Application" but all I see is API Key which is "client_id". Where is client_secret ?

 

Thanks,

Meysam.

MeysamM2
Rookie
0 Votes

 

I got it. Thanks.

WCCGoldenApple
Brand Visionary

David, as this is an older post, you probably already solved your problem, but I decided to write a PHP V3 API wrapper.

 

Check it out at https://packagist.org/packages/phpfui/constantcontact  You can also view the complete source code and documentation at http://phpfui.com/?n=PHPFUI%5CConstantContact.

 

It is a full implementation of the Constant Contact V3 API and updated nightly with any changes that are made to the YAML file.

 

If you need to do additional things, or need the latest API, it might make sense to take a look, rather than write it yourself. It also has a nice next() function to get paginated results.  Super easy to use.

 

Hope this helps.

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