The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

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

Occasional Contributor

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.


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



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

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More