How do I get all the leads, accounts and campaigns using Marketo REST api ? | Community
Skip to main content
Suganya_Jayaram
Level 2
May 30, 2019
Question

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

  • May 30, 2019
  • 2 replies
  • 3661 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
May 30, 2019

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 2
June 3, 2019

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
May 30, 2019

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

Suganya_Jayaram
Level 2
June 3, 2019

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.