Marketo Emails API

Email 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).
Business capability
Digital Marketing Management BC-400.60

Operations 26

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/asset/v1/email/byName.json Look up an email by name · Get Email by Name #
Ask an LLM
“How do I find an email by its name?”
“Can I filter an email by name to a specific status?”
Tell an agent
Get the email named {name}.
Find the {status} email called {name}.
GET /rest/asset/v1/email/{id}.json Get an email by ID · Get Email By Id #
Ask an LLM
“How do I fetch an email record by its ID?”
“Can I see the draft version of an email by ID?”
Tell an agent
Get email {id}.
Show the {status} version of email {id}.
POST /rest/asset/v1/email/{id}.json Update an email's metadata · Update Email Metadata #
Ask an LLM
“Can I change an email's preheader or description?”
“Do published emails still bypass unsubscribe status?”
Tell an agent
Update email {id} with name {name}.
Set operational to {operational} and preheader to {preheader} for email {id}.
POST /rest/asset/v1/email/{id}/approveDraft.json Approve an email draft · Approve Email Draft #
Ask an LLM
“How do I approve the draft of an email so it can be sent?”
“What happens to an email when its draft is approved?”
Tell an agent
Approve the draft of email {id}.
Publish the draft version of email {id}.
POST /rest/asset/v1/email/{id}/clone.json Clone an email · Clone Email #
Ask an LLM
“How do I copy an existing email into a new one?”
“Can I clone an email into a different folder?”
Tell an agent
Clone email {id} as {name} in folder {folder}.
Copy email {id} into folder {folder} named {name}.
GET /rest/asset/v1/email/{id}/content.json Get an email's content · Get Email Content #
Ask an LLM
“How do I see the HTML content of an email?”
“Can I fetch the draft version of an email's content?”
Tell an agent
Get the content of email {id}.
Show the {status} content of email {id}.
POST /rest/asset/v1/email/{id}/content.json Edit an email's send details · Update Email Content #
Ask an LLM
“Can I change who an email is sent from?”
“How do I set the reply-to on an email?”
Tell an agent
Set the from address of email {id} to {fromEmail}.
Change email {id}'s subject to {subject}.
POST /rest/asset/v1/email/{id}/content/rearrange.json Rearrange an email's modules · Rearrange Email Modules #
Ask an LLM
“How do I reorder the modules inside an email?”
“Can I move a module to a different position in an email?”
Tell an agent
Rearrange the modules of email {id}.
Reorder the content modules in email {id}.
POST /rest/asset/v1/email/{id}/content/{htmlId}.json Update a module's content · Update Email Content Section #
Ask an LLM
“How do I change the text or image in a module of an email?”
“Can I upload a new image into a module?”
Tell an agent
Set module {htmlId} in email {id} to {type} with value {value}.
Replace the image in module {htmlId} of email {id} with {image}.
POST /rest/asset/v1/email/{id}/content/{moduleId}/add.json Add a module to an email · Add Email Module #
Ask an LLM
“How do I add a new module to an email?”
“Can I insert a module at a specific position in an email?”
Tell an agent
Add module {moduleId} named {name} to email {id} at position {index}.
Insert {name} as module {moduleId} in email {id}.
POST /rest/asset/v1/email/{id}/content/{moduleId}/delete.json Delete a module from an email · Delete Module #
Ask an LLM
“How do I remove a module from an email?”
“Can I delete a single module without deleting the email?”
Tell an agent destructive · confirm first
Delete module {moduleId} from email {id}.
Remove the {moduleId} module in email {id}.
POST /rest/asset/v1/email/{id}/content/{moduleId}/duplicate.json Duplicate a module in an email · Duplicate Email Module #
Ask an LLM
“How do I copy a module inside an email?”
“Can I duplicate a module under a new name?”
Tell an agent
Duplicate module {moduleId} in email {id} as {name}.
Copy the {moduleId} module of email {id}.
POST /rest/asset/v1/email/{id}/content/{moduleId}/rename.json Rename an email module · Rename Email Module #
Ask an LLM
“How do I rename a module in an email?”
“Can I change the name of a module without moving it?”
Tell an agent
Rename module {moduleId} in email {id} to {name}.
Change the name of module {moduleId} in email {id}.
POST /rest/asset/v1/email/{id}/delete.json Delete an email · Delete Email #
Ask an LLM
“How do I permanently delete an email?”
“Can I remove an email from Marketo?”
Tell an agent destructive · confirm first
Delete email {id}.
Permanently remove email {id}.
POST /rest/asset/v1/email/{id}/discardDraft.json Discard an email's draft · Discard Email Draft #
Ask an LLM
“How do I throw away the unsaved draft of an email?”
“Can I discard a draft without approving it?”
Tell an agent destructive · confirm first
Discard the draft of email {id}.
Throw away unsaved changes to email {id}.
GET /rest/asset/v1/email/{id}/dynamicContent/{contentId}.json Get an email's dynamic content · Get Email Dynamic Content #
Ask an LLM
“How do I read the dynamic content stored in an email?”
“Can I fetch a dynamic content section by its ID?”
Tell an agent
Get dynamic content {contentId} from email {id}.
Show the {status} dynamic content section {contentId} in email {id}.
POST /rest/asset/v1/email/{id}/dynamicContent/{contentId}.json Update an email's dynamic content · Update Email Dynamic Content Section #
Ask an LLM
“How do I change the dynamic content in an email?”
“Can I upload an image into a dynamic content section?”
Tell an agent
Set dynamic content {contentId} in email {id} to {type} with value {value}.
Replace dynamic content {contentId} in email {id} with {image}.
POST /rest/asset/v1/email/{id}/sendSample.json Send a sample of an email · Send Sample Email #
Ask an LLM
“How do I send a test email to myself?”
“Can I impersonate a lead when sending a sample email?”
Tell an agent
Send a sample of email {id} to {emailAddress}.
Send a sample of email {id} to {emailAddress} impersonating lead {leadId}.
POST /rest/asset/v1/email/{id}/unapprove.json Unapprove an email · Unapprove Email #
Ask an LLM
“How do I revert an approved email back to a draft?”
“Can I unapprove an email so I can edit it again?”
Tell an agent
Unapprove email {id} and make it a draft again.
Revert approved email {id} to a draft.
POST /rest/asset/v1/email/{id}/variable/{name}.json Update an email variable · Update Email Variable #
Ask an LLM
“How do I change the value of a variable in an email?”
“Can I update a variable that belongs to a specific module?”
Tell an agent
Set variable {name} in email {id} to {value}.
Update module {moduleId} variable {name} in email {id} to {value}.
GET /rest/asset/v1/email/{id}/variables.json List variables available in an email · Get Email Variables #
Ask an LLM
“Which merge variables can I use in a specific email?”
“What variables does an email asset expose for personalization?”
Tell an agent
List the variables in email {id}.
Show the available merge variables for email {id}.
GET /rest/asset/v1/email/ccFields.json List fields enabled for email CC · Get Email CC Fields #
Ask an LLM
“Which fields can be CC'd on emails in my instance?”
“What recipient fields are enabled for CC when sending emails?”
Tell an agent
List the fields enabled for email CC.
Show which email fields can be CC'd.
GET /rest/asset/v1/emails.json List email assets · Get Emails #
Ask an LLM
“Which emails are in a particular folder?”
“Can I list only emails updated since a certain date?”
Tell an agent
List emails in folder {folder}.
Find emails updated since {earliestUpdatedAt}.
POST /rest/asset/v1/emails.json Create a new email asset · Create Email #
Ask an LLM
“How do I create an email from a template?”
“Can a new email be operational and include a text-only version?”
Tell an agent
Create email {name} in folder {folder} from template {template}, from {fromName} <{fromEmail}> replying to {replyEmail}, subject {subject}.
Create operational email {name} from template {template}, with text-only {textOnly}.
GET /rest/asset/v1/email/{id}/fullContent.json Get an email's full HTML content · Get Email Full Content #
Ask an LLM
“Can I get the serialized HTML of an email?”
“What does an email look like when rendered for a specific lead?”
Tell an agent
Get the full HTML content of email {id}.
Render email {id} as {type} for lead {leadId}.
POST /rest/asset/v1/email/{id}/fullContent.json Replace an email's HTML content · Update Email Full Content #
Ask an LLM
“How do I replace the HTML of an email that's no longer linked to its template?”
“Can I upload new HTML for an email without touching the template?”
Tell an agent
Replace the HTML of email {id} with {content}.
Upload {content} as the new HTML for email {id}.

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-emails-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-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Marketo Engage Rest API
  version: '1.0'
  title: Marketo Engage Rest Emails 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 (43 KB total) ---
# Full source: https://artifacts.apis.io/marketo/openapi/marketo-emails-api-openapi.yml