Marketo · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Marketo Engage Rest Leads API
23 actions
23 updates
phrasing
extends
openapi/marketo-leads-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Marketo's API. It is a proposal applied on top of the contract, not a document Marketo publishes.
What the actions change
x-apievangelist-phrasing
Targets 23 · first 16 shown; the file carries all of them
$.info
$.paths['/rest/v1/lead/{leadId}.json'].get
$.paths['/rest/v1/leads.json'].get
$.paths['/rest/v1/leads.json'].post
$.paths['/rest/v1/leads/delete.json'].post
$.paths['/rest/v1/leads/describe.json'].get
$.paths['/rest/v1/leads/describe2.json'].get
$.paths['/rest/v1/leads/schema/fields/{fieldApiName}.json'].get
$.paths['/rest/v1/leads/schema/fields/{fieldApiName}.json'].post
$.paths['/rest/v1/leads/schema/fields.json'].get
$.paths['/rest/v1/leads/schema/fields.json'].post
$.paths['/rest/v1/program/members/describe.json'].get
$.paths['/rest/v1/leads/partitions.json'].get
$.paths['/rest/v1/leads/partitions.json'].post
$.paths['/rest/v1/leads/programs/{programId}.json'].get
$.paths['/rest/v1/leads/programs/{programId}/status.json'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Marketo Engage Rest Leads API
version: 1.0.0
extends: openapi/marketo-leads-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 22
- target: $.paths['/rest/v1/lead/{leadId}.json'].get
update:
x-apievangelist-phrasing:
intent: Get a lead by Marketo ID
effect: read
questions:
- 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?
instructions:
- text: Get lead {leadId}.
slots:
leadId: path.leadId
- text: Show lead {leadId} with fields {fields}.
slots:
leadId: path.leadId
fields: query.fields
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads.json'].get
update:
x-apievangelist-phrasing:
intent: Find leads matching a field value
effect: read
questions:
- How do I find leads whose email is on a list?
- Can I search leads by a custom field value?
instructions:
- text: Find leads where {filterType} is {filterValues}.
slots:
filterType: query.filterType
filterValues: query.filterValues
- text: Find leads matching {filterValues} in {filterType}, returning {fields}.
slots:
filterValues: query.filterValues
filterType: query.filterType
fields: query.fields
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads.json'].post
update:
x-apievangelist-phrasing:
intent: Upsert leads into Marketo
effect: write
questions:
- How do I create or update leads in Marketo from a list?
- Can I upsert leads using a lookup field like email?
instructions:
- text: Sync leads {input}.
slots:
input: requestBody.input
- text: Upsert leads {input} using lookup field {lookupField}.
slots:
input: requestBody.input
lookupField: requestBody.lookupField
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/delete.json'].post
update:
x-apievangelist-phrasing:
intent: Delete leads
effect: destructive
questions:
- How do I delete leads from Marketo?
- Can I delete leads by ID when I don't have a request body?
instructions:
- text: Delete leads {input}.
slots:
input: requestBody.input
- text: Delete leads {input} by ID {id}.
slots:
input: requestBody.input
id: query.id
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/describe.json'].get
update:
x-apievangelist-phrasing:
intent: Describe lead fields (legacy)
effect: read
questions:
- What does the older Describe Lead endpoint return about lead fields?
- Is the legacy lead describe endpoint still supported?
instructions:
- text: Describe lead fields with the legacy endpoint.
- text: List lead fields using the superseded Describe Lead endpoint.
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/describe2.json'].get
update:
x-apievangelist-phrasing:
intent: Describe searchable lead fields
effect: read
questions:
- Which lead fields can I search on?
- What searchable fields exist on lead objects?
instructions:
- text: Describe the searchable lead fields.
- text: List lead fields I can search on.
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/schema/fields/{fieldApiName}.json'].get
update:
x-apievangelist-phrasing:
intent: Get one lead field's metadata
effect: read
questions:
- What are the settings of a single lead field?
- Can I look up one custom field on leads by its API name?
instructions:
- text: Get lead field {fieldApiName}.
slots:
fieldApiName: path.fieldApiName
- text: Show metadata for lead field {fieldApiName}.
slots:
fieldApiName: path.fieldApiName
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/schema/fields/{fieldApiName}.json'].post
update:
x-apievangelist-phrasing:
intent: Update a lead field
effect: write
questions:
- How do I change the label or type of an existing lead field?
- Can I update a custom field on leads?
instructions:
- text: Update lead field {fieldApiName} with {input}.
slots:
fieldApiName: path.fieldApiName
input: requestBody.input
- text: Change the metadata of lead field {fieldApiName}.
slots:
fieldApiName: path.fieldApiName
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/schema/fields.json'].get
update:
x-apievangelist-phrasing:
intent: List all lead fields
effect: read
questions:
- Which fields exist on leads in my instance?
- Can I page through all lead field definitions?
instructions:
- text: List all lead fields.
- text: List lead fields in batches of {batchSize}.
slots:
batchSize: query.batchSize
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/schema/fields.json'].post
update:
x-apievangelist-phrasing:
intent: Create lead fields
effect: write
questions:
- How do I add a new custom field to leads?
- Can I create several lead fields in one request?
instructions:
- text: Create lead fields {input}.
slots:
input: requestBody.input
- text: Add new custom fields {input} to leads.
slots:
input: requestBody.input
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/program/members/describe.json'].get
update:
x-apievangelist-phrasing:
intent: Describe program member fields (legacy)
effect: read
questions:
- What does the older program member describe endpoint return?
- Is the legacy program member describe endpoint still supported?
instructions:
- text: Describe program member fields with the legacy endpoint.
- text: List program member fields using the superseded endpoint.
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/partitions.json'].get
update:
x-apievangelist-phrasing:
intent: List lead partitions
effect: read
questions:
- Which lead partitions exist in my instance?
- How do I see the partition names for leads?
instructions:
- text: List lead partitions.
- text: Show the partition names available for leads.
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/partitions.json'].post
update:
x-apievangelist-phrasing:
intent: Move leads into lead partitions
effect: write
questions:
- How do I move leads into a different lead partition?
- Can I update lead partition membership for a list of leads?
instructions:
- text: Update lead partitions for {input}.
slots:
input: requestBody.input
- text: Move leads {input} into their new lead partition.
slots:
input: requestBody.input
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/programs/{programId}.json'].get
update:
x-apievangelist-phrasing:
intent: Get leads in a program
effect: read
questions:
- Which leads are members of a particular program?
- Can I list program members for one program?
instructions:
- text: Get leads in program {programId}.
slots:
programId: path.programId
- text: List program {programId} members returning {fields}.
slots:
programId: path.programId
fields: query.fields
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/programs/{programId}/status.json'].post
update:
x-apievangelist-phrasing:
intent: Change program status of leads
effect: write
questions:
- How do I change the program status of leads already in a program?
- Can I set program status for program members?
instructions:
- text: Change program {programId} status of {input} to {status}.
slots:
programId: path.programId
input: requestBody.input
status: requestBody.status
- text: Set program {programId} status {status} for leads {input}.
slots:
programId: path.programId
status: requestBody.status
input: requestBody.input
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/push.json'].post
update:
x-apievangelist-phrasing:
intent: Upsert a lead and log a push activity
effect: write
questions:
- 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?
instructions:
- text: Push lead {input} to Marketo.
slots:
input: requestBody.input
- text: Upsert lead {input} into program {programName} with status {programStatus}.
slots:
input: requestBody.input
programName: requestBody.programName
programStatus: requestBody.programStatus
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/submitForm.json'].post
update:
x-apievangelist-phrasing:
intent: Submit a form and log a fill-out activity
effect: write
questions:
- How do I submit a form and have Marketo record a Fill out Form activity?
- Can I associate a form submission with a program?
instructions:
- text: Submit form {formId} with {input}.
slots:
formId: requestBody.formId
input: requestBody.input
- text: Record a Fill out Form activity for {input} on form {formId} in program {programId}.
slots:
input: requestBody.input
formId: requestBody.formId
programId: requestBody.programId
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/{leadId}/associate.json'].post
update:
x-apievangelist-phrasing:
intent: Associate a cookie with a lead
effect: write
questions:
- How do I link a munchkin cookie to a known lead?
- Can I associate web activity history with a lead by its cookie?
instructions:
- text: Associate cookie {cookie} with lead {leadId}.
slots:
cookie: query.cookie
leadId: path.leadId
- text: Link munchkin cookie {cookie} to lead {leadId} so web history is merged.
slots:
cookie: query.cookie
leadId: path.leadId
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/{leadId}/merge.json'].post
update:
x-apievangelist-phrasing:
intent: Merge duplicate lead records
effect: destructive
questions:
- How do I merge several duplicate leads into one?
- Can I merge leads and also update their CRM record?
instructions:
- text: Merge leads {leadId} with {leadIds} into the winning lead.
slots:
leadId: path.leadId
leadIds: query.leadIds
- text: Merge leads {leadId} and {leadId} into one record.
slots:
leadId: path.leadId
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/{leadId}/listMembership.json'].get
update:
x-apievangelist-phrasing:
intent: Check a lead's static list membership
effect: read
questions:
- Which static lists is a given lead a member of?
- Can I page through a lead's list memberships?
instructions:
- text: Show static list membership for lead {leadId}.
slots:
leadId: path.leadId
- text: List the static lists lead {leadId} belongs to.
slots:
leadId: path.leadId
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/{leadId}/programMembership.json'].get
update:
x-apievangelist-phrasing:
intent: List a lead's program membership
effect: read
questions:
- Which Marketo programs is a given lead a member of?
- Can I filter a lead's program membership by program ID?
instructions:
- text: List program membership for lead {leadId}.
slots:
leadId: path.leadId
- text: Show programs lead {leadId} joined after {earliestUpdatedAt}.
slots:
leadId: path.leadId
earliestUpdatedAt: query.earliestUpdatedAt
method: generated
generated: '2026-11-17'
- target: $.paths['/rest/v1/leads/{leadId}/smartCampaignMembership.json'].get
update:
x-apievangelist-phrasing:
intent: List a lead's smart campaign membership
effect: read
questions:
- Which smart campaigns has a lead been added to?
- Can I see only smart campaigns a lead joined within a date range?
instructions:
- text: List smart campaign membership for lead {leadId}.
slots:
leadId: path.leadId
- text: Show smart campaigns lead {leadId} joined before {latestUpdatedAt}.
slots:
leadId: path.leadId
latestUpdatedAt: query.latestUpdatedAt
method: generated
generated: '2026-11-17'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/marketo-leads-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.