As mentioned in an earlier post, you can view API usage data for the prior week by going to the Admin > Web Services panel in Marketo. This gives you a daily rollup of the number of calls made by user. As a Marketo API consumer, this is useful information that you should keep an … Continue reading “Create a Dashboard for API Usage and Error Counts”
Category: How-To
Best practices, examples, and more.
Marketo REST API Exception and Error Handling: Part 1
The Marketo REST API may return an exception or error, which, for convenience, we will just call errors from here on out. Errors can occur at three different levels: HTTP level, these errors are indicated by a 4xx code Response level, these errors are included in the “errors” array of the JSON response Record level, these … Continue reading “Marketo REST API Exception and Error Handling: Part 1”
Make a Marketo Form Submission in the Background
When your organization has many different platforms for hosting web content and customer data it becomes fairly common to need parallel submissions from a form so that the resulting data can be gathered in separate platforms. There are several strategies to do this, but the best one is often the simplest: Using the Forms 2 … Continue reading “Make a Marketo Form Submission in the Background”
Comparing Score fields in Marketo Email Scripting
Note: This is a guest post by Cathal Moran. Cathal is a Solutions Consultant, working out of Marketo’s EMEA Office in Dublin, Ireland. Comparing Score fields Many Marketo customers, particularly those focused on cross-selling, have multiple score fields and this is often used to measure a lead’s interest in a particular product /area. Imagine I … Continue reading “Comparing Score fields in Marketo Email Scripting”
How to Specify Lead Partitions Using the REST API
Lead Partitioning Marketo Lead Partitions provide a convenient way to isolate leads. Partitions can allow different marketing groups within your organization to share a single Marketo instance. For more information, see Understanding Workspaces and Lead Partitions. Suppose that you are using lead partitions and creating leads programmatically using the Marketo REST API. How do you ensure … Continue reading “How to Specify Lead Partitions Using the REST API”
Quick Start Guide for Marketo REST API
This guide will show you how to make your first call to the Marketo REST API in ten minutes. We’ll show you how to retrieve a single lead using the Get Lead by Id REST API endpoint. To do this, we will walk you through the authentication process to generate an access token, which you … Continue reading “Quick Start Guide for Marketo REST API”
Best Practices for API Users and Custom Services
Marketo’s REST APIs use custom services for authentication and each of these services is owned by an API-only Marketo user. The capabilities of each custom service are determined by the permissions of each role assigned to that user. Allocating individual users and custom services to your integrations gives you multiple benefits: You can fine-tune the … Continue reading “Best Practices for API Users and Custom Services”
Add SalesPerson Data to Marketo
With the new SalesPerson APIs, you can freely associate Marketo leads to SalesPerson records in instances without a native CRM integration. This allows usage of {{lead.Lead Owner Email Address}} and related fields and tokens within Marketo. Creating SalesPerson records In order to associate leads to SalesPerson records, we first need to input our SalesPerson records … Continue reading “Add SalesPerson Data to Marketo”
Updating Lead Data in Marketo using the API
Over a year ago we posted Updating customer and prospect information in Marketo using the API. That post presented a code sample that could be run on a recurring basis to poll a external system for updates. The idea was to retrieve the external data and push it into Marketo to update lead information. The code sample … Continue reading “Updating Lead Data in Marketo using the API”
Create and Associate Leads, Companies, and Opportunities with the Marketo REST API
In order to take full advantage of Marketo analytics it is crucial to build out correct and robust associations between your lead, company and opportunity records. When you are not leveraging a native CRM-sync, building these relationships can pose some difficulties, so today we’ll walk through building them. Object Relationships In Marketo, there are a few … Continue reading “Create and Associate Leads, Companies, and Opportunities with the Marketo REST API”