REST Get Multiple Leads by Program ID - Call to get list of Program IDs? | Community
Skip to main content
July 31, 2015
Solved

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

  • July 31, 2015
  • 2 replies
  • 1888 views

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!

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 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

2 replies

Kenny_Elkington
Adobe Employee
Kenny_ElkingtonAdobe EmployeeAccepted solution
Adobe Employee
July 31, 2015

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

July 31, 2015

Thanks for your feedback!

August 1, 2015

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.

August 1, 2015

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