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 ID the a contact list which I just added

Occasional Participant

how to get ID the a contact list which I just added

Hi all:  

I just created a new contact list via API, now I wanna know is there any way to get the id of this list. because later I want to add contacts to this list.




The new list ID would have been returned in the response body back from our server, but we do have an API call available to GET your contact lists and their respective list ID's through the API.


The easiest way to see though, is to login to the account, go to the Contacts tab, click on a list, and look at the URL. It should look something like this: 




In this case, the list ID is 3. I hope that helps! 


Best Regards,

Shannon W.

API Support Specialist

Developer Portal

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

Visit Page