How to get ListId | Community
Skip to main content
July 11, 2014
Solved

How to get ListId

  • July 11, 2014
  • 2 replies
  • 1653 views
Hi -

I am new to Marketo. So apologies if this has been repeated before.

I want to create a lead in a specific List. I do not have the ListId. I know its name though. How can I go about finding the ListId.

I am assuming I can then use the following API to add lead to a particular List.
http://developers.marketo.com/documentation/rest/add-leads-to-list/

Thanks,
Kushal.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
1 - You can use this endpoint to retrieve a list of lists, which will return list names and ids:
http://developers.marketo.com/documentation/rest/get-multiple-lists/

2 - Then as you mentioned add a lead to that list using this endpoint:
http://developers.marketo.com/documentation/rest/add-leads-to-list/
 

2 replies

Accepted solution
July 11, 2014
1 - You can use this endpoint to retrieve a list of lists, which will return list names and ids:
http://developers.marketo.com/documentation/rest/get-multiple-lists/

2 - Then as you mentioned add a lead to that list using this endpoint:
http://developers.marketo.com/documentation/rest/add-leads-to-list/
 
September 5, 2014
Hi, I see the information as presented here.  I'm working with a vendor who is building out our API, I don't have the tools needed to run scripts.  I've tried entering the URL https://<OUR INFO>.mktorest.com/rest/v1/lists.json to get our list IDs but just entering a URL like that in a browser fails.

How to I find the integer ID for the list other than running an API?