We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

How to get all my lists with name and ids using php curl

PrabhuB3
Participant

How to get all my lists with name and ids using php curl

I want the script for display all my list ids with names using php api.

 

we try to give option for admins/users to create/add contacts with choosing the list id.

 

i got script to add contacts to the list here, http://stackoverflow.com/questions/1459278/how-to-use-constant-contact-api

 

so i need to display simillar to above script.

 

Regards,

Prabhu P.

 

1 REPLY 1
Nick_G
Moderator

I would suggest using our PHP Wrapper to make this easier. You can the repo on Github here. There are a few different functions for list management that the wrapper uses, and the documentation for them is here. With this wrapper, you'll be able to use whatever details from the list that you need.

Nick Galbraith
Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page