how do you find the LIST ID of a list

SOLVED
Go to solution
MarthaG97
Rookie
0 Votes

I am using the example code for the API to GET Contact data.  One of the parameters is List ID.  How/where do I find the IDs of my lists?

1 ACCEPTED SOLUTION
MarthaG97
Rookie

Answering my own question:  Go to the API Reference for GET Lists Collection and click Try.  The response will contain your lists and list IDs.

View solution in original post

4 REPLIES 4
John__B
Moderator
0 Votes

Hello Martha G97,

 

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

You can use the GET Lists Collection call to obtain a full list of your account’s List ID’s. I am including the API Reference documentation for this call below:

 

GET Lists Collection:

https://developer.constantcontact.com/api_reference/index.html#!/Contact_Lists/getLists

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
API Support Specialist
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.
MarthaG97
Rookie
0 Votes

Thanks John B.  I found it.

MarthaG97
Rookie

Answering my own question:  Go to the API Reference for GET Lists Collection and click Try.  The response will contain your lists and list IDs.

ChrisF4360
Campaign Collaborator

Instead of fussing with the API just visit the list within your account and copy the last bit of the URL.  The URL will be something like the following.

 

https://app.constantcontact.com/pages/contacts/ui#contacts/9f8a2e50-09d3-11ed-b739-fa163e6b8330 

 

In this case the list id is 9f8a2e50-09d3-11ed-b739-fa163e6b8330 

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

Polls
How confident are you about the effectiveness of your current marketing strategy?

Top Choice: Not confident at all (62%)