MCP Server for Marketo

Build 25.0.9440

EmailTemplates

Query email templates for a Marketo organization.

Note: This table uses the draft/approved versioning API. By default both versions are retrieved/modified. To interact with a specific version use the filter Status='draft' or Status='approved'.

CreateEmailTemplate can be used to create email templates.

GetEmailTemplateContent can be used to retrieve the email template content.

UpdateEmailTemplateContent can be used to update the email template content.

Select

Note: Filters provided with one of the supported operators listed in the "Operators" column are processed server-side, all the other filters are processed client-side.

For example, the following queries are processed server-side:

	SELECT * FROM EmailTemplates WHERE ID=1038
	SELECT * FROM EmailTemplates WHERE Name='Test Template 3'
	SELECT * FROM EmailTemplates WHERE Status='approved'
	SELECT * FROM EmailTemplates WHERE ID=1038 AND Status='approved'

Update


	UPDATE EmailTemplates SET Description='test update' WHERE Id=1039

Delete


	DELETE FROM EmailTemplates WHERE Id=1014
	DELETE FROM EmailTemplates WHERE Id=1034 AND Status='draft'
	DELETE FROM EmailTemplates WHERE Name='Serenity (Marketo Starter Template)

Columns

Name Type ReadOnly Operators Description
Id [KEY] Int True =

The id of the asset.

Status [KEY] String True =

Status of the email template, draft or approved versions.

Name String False =

The name of the asset.

Description String False

The description of the asset.

URL String True

The URL of the asset in the Marketo UI.

Version Int True

The Template version type.

WorkspaceName String True

Name of the workspace the email template is part of.

FolderId Int True

The unique, Marketo-assigned identifier of the parent folder/program.

FolderName String True

The name of the folder

FolderType String True

The type of folder (Folder,Program)

CreatedAt Datetime True

The date and time the asset was created.

UpdatedAt Datetime True

The date and time the asset was last updated.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440