SOLVED

REST Get Multiple Leads by Program ID - Call to get list of Program IDs?

Go to solution
Anonymous
Not applicable

Hi There!

We're looking to use the Get Multiple Leads by Program ID REST endpoint and the Program ID is a required field.  I don't see a REST Resource to call for a list of the Program IDs.

The closest I got was the Get Multiple Campaigns REST Endpoint, but that looks to only return the Program Names, not the IDs I need.

Any suggestions as to how to get the Program IDs through the REST API?

Thanks so much in advance!

Tags (2)
1 ACCEPTED SOLUTION
Kenny_Elkington
Marketo Employee

Hi Brianne,

This is currently not available through rest, though we are working on a program API.  You can retrieve programs through the SOAP API though: getMObjects » Marketo Developers

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi Brianne Goracy

if you will not frequently create/delete programs, I recommend REST Get Folder by Name » Marketo Developers

You can get a program ID.

Anonymous
Not applicable

Oh thanks for that information as well!  My team will explore that option as well.

Kenny_Elkington
Marketo Employee

Hi Brianne,

This is currently not available through rest, though we are working on a program API.  You can retrieve programs through the SOAP API though: getMObjects » Marketo Developers

Anonymous
Not applicable

Thanks for your feedback!