Re: How do I get all the leads, accounts and campaigns using Marketo REST api ?

Suganya_Jayaram
Level 1

How do I get all the leads, accounts and campaigns using Marketo REST api ?

Hi Team,

I am developing the integration between Marketo and third-party application.

And, we are planning to integrate the Marketo Leads, Campaigns, Accounts and others to third party application and vice versa.

While analyzing the Marketo REST API document, we are facing some difficulties to get information about the below API.

  • Get all Leads API ( it will return all the leads in Marketo)
  • Get all Accounts API  ( it will return all the Accounts in Marketo).
  • Get all Campaigns API ( it will return all the Campaigns in Marketo).

So far, we can get the API for get lead by ID but not for getting all the leads in the Marketo and we are facing the same difficulties for Accounts and Campaigns.


Could anyone please guide us to resolve these queries.

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: How do I get all the leads, accounts and campaigns using Marketo REST api ?

Have you searched the many, many discussions of the REST API here over the years?

How familiar are you with Marketo as a user?

Suganya_Jayaram
Level 1

Re: How do I get all the leads, accounts and campaigns using Marketo REST api ?

I have tried to search for similar topics, but couldn't get the exact answer for it.
Could you please suggest something related to my queries.

Jep_Castelein2
Level 10

Re: How do I get all the leads, accounts and campaigns using Marketo REST api ?

HI Suganya, I would start with the "reference architecture" documents: https://developers.marketo.com/rest-api/reference-architectures/

Suganya_Jayaram
Level 1

Re: How do I get all the leads, accounts and campaigns using Marketo REST api ?

Thanks for the suggestion Jep Castelein‌, I have already read it and need some more information on how do get all the leads using the REST API  or How do I get all the leads of particular Campaigns using REST API.

Could you please suggest me any related discussion.