Setting up an automatic export of leads that meet a certain criteria is a very common use case with Marketo. Although this can’t currently be done in the Marketo interface, its pretty straightforward to accomplish using the a 3rd party tool like Dell Boomi, a static list with some data management campaigns, and the Marketo … Continue reading “Using the Marketo REST API with Boomi: Getting and Storing a REST Authentication Token”
Tag: REST
Highlighting Open Source Projects Built on the Marketo Platform: Part Two
This is the second post in an ongoing series highlighting open-source projects built around the Marketo platform by the developer community. The first post in this series is available here. We maintain a list on Marketo’s GitHub account where we track client libraries and projects created by the Marketo developer community. Below are three projects … Continue reading “Highlighting Open Source Projects Built on the Marketo Platform: Part Two”
Get Activity Data via the REST API
Let’s say you want to get all leads that were added to a list this month. Using the Get Lead Activities REST API, you can get this data. Before calling the Get Lead Activities API, it is necessary to get an access token from the Authentication API and also get a starting date token from … Continue reading “Get Activity Data via the REST API”
Use cURL to Import Leads via the REST API
Do you want to import leads from a CSV file through the REST API, but noticed this is challenging to do using the Postman Chrome extension. In this post, we’ll walk through how to do this with cURL. Step One Download and install cURL, a command line tool we’ll use to push data to Marketo’s … Continue reading “Use cURL to Import Leads via the REST API”
Performance Tuning API Requests
This post discusses strategies to improve performance when requesting data from the Marketo API. However, you must weigh the benefits of these strategies against the operating constraint of Marketo API’s daily limits. Strategy 1 – Request Less Data in Each API Call Generally, as you request more data in an API call, the amount of … Continue reading “Performance Tuning API Requests”
Multithread REST API Requests
If you would like to improve performance when calling the Marketo API, you can make concurrent requests. This approach will allow you to get more data in a shorter period of time. When making an API request, part of the round-trip time between the client and server is the transfer time on the wire. So … Continue reading “Multithread REST API Requests”
Find Leads by Custom Field Value
Let’s say you want to get leads from the Marketo API who match certain activity or inactivity criteria. For example, maybe you want to find leads whose score has not changed in the past 30 days. By following the steps in this post, you will be able to get this list of leads. To do … Continue reading “Find Leads by Custom Field Value”
Get a Visitor’s Cookie ID and then Query Associated Lead Data
Using the Get Multiple Leads by Filter Type REST endpoint, you can query lead data based on a user’s cookie id. For example, you can use this approach to prefill a form on a non-Marketo landing page. This post will show you how to capture the user’s cookie value during a webpage visit, query Get Multiple … Continue reading “Get a Visitor’s Cookie ID and then Query Associated Lead Data”
External Page Prefill
Marketo forms do not provide native prefill functionality when loaded outside of a Marketo landing page. However, we can still implement this using the Marketo APIs and the Forms 2.0 JavaScript API. The first step is to retrieve the lead data from Marketo via a REST call from your server. Assuming that we do not … Continue reading “External Page Prefill”
Search by Full Name via Marketo REST API
Question: Is there a way to query a lead using Marketo APIs with just a lead’s full name? Answer: It is not directly possible. However, the workaround described below will allow you to do this. 1. Create a custom field called “Fullname” in Marketo. Here’s a blog post that describes how to do this. 2. … Continue reading “Search by Full Name via Marketo REST API”