SOLVED

Re: How to get ListId

Go to solution
Anonymous
Not applicable

How to get ListId

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.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: How to get ListId

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/
 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: How to get ListId

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

Re: How to get ListId

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?