SOLVED

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

Go to solution
Anonymous
Not applicable

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

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.
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Kenny_Elkington
Marketo Employee

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

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.

View solution in original post

5 REPLIES 5
Kenny_Elkington
Marketo Employee

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

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.
Anonymous
Not applicable

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

Kenny's explanation is correct. I just added his note to all the REST API endpoint pages related to lists.
Anonymous
Not applicable

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

Great!  Thanks so much for the quick answer.
Anonymous
Not applicable

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

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"
0EM50000000Spmu.jpg
Anonymous
Not applicable

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

Takehiro - thanks for pointing that out!