Marketo Leads API

Leads Controller

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rest/v1/lead/{leadId}.json Get a lead by Marketo ID · Get Lead by Id #
Ask an LLM
“Can I look up a single lead record by its Marketo ID?”
“What fields come back for one lead if I don't request specific fields?”
Tell an agent
Get lead {leadId}.
Show lead {leadId} with fields {fields}.
GET /rest/v1/leads.json Find leads matching a field value · Get Leads by Filter Type #
Ask an LLM
“How do I find leads whose email is on a list?”
“Can I search leads by a custom field value?”
Tell an agent
Find leads where {filterType} is {filterValues}.
Find leads matching {filterValues} in {filterType}, returning {fields}.
POST /rest/v1/leads.json Upsert leads into Marketo · Sync Leads #
Ask an LLM
“How do I create or update leads in Marketo from a list?”
“Can I upsert leads using a lookup field like email?”
Tell an agent
Sync leads {input}.
Upsert leads {input} using lookup field {lookupField}.
POST /rest/v1/leads/delete.json Delete leads · Delete Leads #
Ask an LLM
“How do I delete leads from Marketo?”
“Can I delete leads by ID when I don't have a request body?”
Tell an agent destructive · confirm first
Delete leads {input}.
Delete leads {input} by ID {id}.
GET /rest/v1/leads/describe.json Describe lead fields (legacy) · Describe Lead #
Ask an LLM
“What does the older Describe Lead endpoint return about lead fields?”
“Is the legacy lead describe endpoint still supported?”
Tell an agent
Describe lead fields with the legacy endpoint.
List lead fields using the superseded Describe Lead endpoint.
GET /rest/v1/leads/describe2.json Describe searchable lead fields · Describe Lead2 #
Ask an LLM
“Which lead fields can I search on?”
“What searchable fields exist on lead objects?”
Tell an agent
Describe the searchable lead fields.
List lead fields I can search on.
GET /rest/v1/leads/schema/fields/{fieldApiName}.json Get one lead field's metadata · Get Lead Field by Name #
Ask an LLM
“What are the settings of a single lead field?”
“Can I look up one custom field on leads by its API name?”
Tell an agent
Get lead field {fieldApiName}.
Show metadata for lead field {fieldApiName}.
POST /rest/v1/leads/schema/fields/{fieldApiName}.json Update a lead field · Update Lead Field #
Ask an LLM
“How do I change the label or type of an existing lead field?”
“Can I update a custom field on leads?”
Tell an agent
Update lead field {fieldApiName} with {input}.
Change the metadata of lead field {fieldApiName}.
GET /rest/v1/leads/schema/fields.json List all lead fields · Get Lead Fields #
Ask an LLM
“Which fields exist on leads in my instance?”
“Can I page through all lead field definitions?”
Tell an agent
List all lead fields.
List lead fields in batches of {batchSize}.
POST /rest/v1/leads/schema/fields.json Create lead fields · Create Lead Fields #
Ask an LLM
“How do I add a new custom field to leads?”
“Can I create several lead fields in one request?”
Tell an agent
Create lead fields {input}.
Add new custom fields {input} to leads.
GET /rest/v1/program/members/describe.json Describe program member fields (legacy) · Describe Program Member #
Ask an LLM
“What does the older program member describe endpoint return?”
“Is the legacy program member describe endpoint still supported?”
Tell an agent
Describe program member fields with the legacy endpoint.
List program member fields using the superseded endpoint.
GET /rest/v1/leads/partitions.json List lead partitions · Get Lead Partitions #
Ask an LLM
“Which lead partitions exist in my instance?”
“How do I see the partition names for leads?”
Tell an agent
List lead partitions.
Show the partition names available for leads.
POST /rest/v1/leads/partitions.json Move leads into lead partitions · Update Lead Partition #
Ask an LLM
“How do I move leads into a different lead partition?”
“Can I update lead partition membership for a list of leads?”
Tell an agent
Update lead partitions for {input}.
Move leads {input} into their new lead partition.
GET /rest/v1/leads/programs/{programId}.json Get leads in a program · Get Leads by Program Id #
Ask an LLM
“Which leads are members of a particular program?”
“Can I list program members for one program?”
Tell an agent
Get leads in program {programId}.
List program {programId} members returning {fields}.
POST /rest/v1/leads/programs/{programId}/status.json Change program status of leads · Change Lead Program Status #
Ask an LLM
“How do I change the program status of leads already in a program?”
“Can I set program status for program members?”
Tell an agent
Change program {programId} status of {input} to {status}.
Set program {programId} status {status} for leads {input}.
POST /rest/v1/leads/push.json Upsert a lead and log a push activity · Push Lead to Marketo #
Ask an LLM
“How do I upsert a lead and record a Push Lead to Marketo activity?”
“Can I set the program status and reason when pushing a lead?”
Tell an agent
Push lead {input} to Marketo.
Upsert lead {input} into program {programName} with status {programStatus}.
POST /rest/v1/leads/submitForm.json Submit a form and log a fill-out activity · Submit Form #
Ask an LLM
“How do I submit a form and have Marketo record a Fill out Form activity?”
“Can I associate a form submission with a program?”
Tell an agent
Submit form {formId} with {input}.
Record a Fill out Form activity for {input} on form {formId} in program {programId}.
POST /rest/v1/leads/{leadId}/associate.json Associate a cookie with a lead · Associate Lead #
Ask an LLM
“How do I link a munchkin cookie to a known lead?”
“Can I associate web activity history with a lead by its cookie?”
Tell an agent
Associate cookie {cookie} with lead {leadId}.
Link munchkin cookie {cookie} to lead {leadId} so web history is merged.
POST /rest/v1/leads/{leadId}/merge.json Merge duplicate lead records · Merge Leads #
Ask an LLM
“How do I merge several duplicate leads into one?”
“Can I merge leads and also update their CRM record?”
Tell an agent destructive · confirm first
Merge leads {leadId} with {leadIds} into the winning lead.
Merge leads {leadId} and {leadId} into one record.
GET /rest/v1/leads/{leadId}/listMembership.json Check a lead's static list membership · Get Lists by Lead Id #
Ask an LLM
“Which static lists is a given lead a member of?”
“Can I page through a lead's list memberships?”
Tell an agent
Show static list membership for lead {leadId}.
List the static lists lead {leadId} belongs to.
GET /rest/v1/leads/{leadId}/programMembership.json List a lead's program membership · Get Programs by Lead Id #
Ask an LLM
“Which Marketo programs is a given lead a member of?”
“Can I filter a lead's program membership by program ID?”
Tell an agent
List program membership for lead {leadId}.
Show programs lead {leadId} joined after {earliestUpdatedAt}.
GET /rest/v1/leads/{leadId}/smartCampaignMembership.json List a lead's smart campaign membership · Get Smart Campaigns by Lead Id #
Ask an LLM
“Which smart campaigns has a lead been added to?”
“Can I see only smart campaigns a lead joined within a date range?”
Tell an agent
List smart campaign membership for lead {leadId}.
Show smart campaigns lead {leadId} joined before {latestUpdatedAt}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/marketo:marketo-leads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

marketo-leads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Marketo Engage Rest API
  version: '1.0'
  title: Marketo Engage Rest Leads API
  termsOfService: https://www.adobe.com/legal.html
  contact:
    name: Adobe Developer Relations
    url: https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/home
    email: ''
  license:
    name: API License Agreement
    url: https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/api-license
servers:
- url: https://localhost:8080/
tags:


# --- truncated at 32 KB (59 KB total) ---
# Full source: https://artifacts.apis.io/marketo/openapi/marketo-leads-api-openapi.yml