How to get a list's id from its name?

Highlighted
Visitor

How to get a list's id from its name?

Is there any way via the API to retrieve a list's id given its name? I've reviewed the docs a couple times and could not find a way, unless you know the email or contact id of a contact who is already in the list.

 

Thanks,

dave

1 REPLY 1
Highlighted
Employee

Re: How to get a list's id from its name?

Hey David,

 

We will only return XML  and you would have to create some conditional coding on your side to find out which list ID fits your list name. 

 

Please let me know if you need any more help with this.

 

 

Ryan Davis
Quality Engineer
Developer Portal

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

Visit Page

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured