How to get a list id for use in the REST api? | Community
Skip to main content
January 26, 2015
Solved

How to get a list id for use in the REST api?

  • January 26, 2015
  • 5 replies
  • 1865 views
In the REST api, http://developers.marketo.com/documentation/rest/get-list-by-id/, I can query for a list details - but how can I get the id of a list? Is it listed anywhere in the web front-end?

Thanks.
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 Kenny_Elkington
Hi Job,

The list id is in the URL of the static list, https://app-****.marketo.com/#ST1001A1  In this example, 1001 is the ID.  ST is the prefix for static lists, and A1 is the subpage, in this case the summary page for the list.

5 replies

Kenny_Elkington
Adobe Employee
Kenny_ElkingtonAdobe EmployeeAccepted solution
Adobe Employee
January 26, 2015
Hi Job,

The list id is in the URL of the static list, https://app-****.marketo.com/#ST1001A1  In this example, 1001 is the ID.  ST is the prefix for static lists, and A1 is the subpage, in this case the summary page for the list.
January 26, 2015
Kenny's explanation is correct. I just added his note to all the REST API endpoint pages related to lists.
January 26, 2015
Great!  Thanks so much for the quick answer.
January 27, 2015
Hi Job
You can use "Get Multiple Lists" API also.
http://developers.marketo.com/documentation/rest/get-multiple-lists/

I show you my sample app.
Front sub window is "Lists list" using "Get Multiple Lists" API.
Back parent window is "Lead list" using "Get List by id"
January 27, 2015
Takehiro - thanks for pointing that out!