M
GetCampaignContent
MailchimpMarketingApi.GetCampaignContent
Description
Retrieve the HTML and plain-text content for a Mailchimp campaign.
Use this tool to get the content of a specific Mailchimp campaign by providing its campaign ID. The response includes both HTML and plain-text content, useful for viewing or analyzing email campaigns in detail.
Input Parameters
{
"parameters": [
{
"name": "campaign_id",
"required": true,
"inferrable": true,
"description": "The unique identifier for the Mailchimp campaign to retrieve content for.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "exclude_fields_list",
"required": false,
"inferrable": true,
"description": "A comma-separated list of fields to exclude when retrieving campaign content. Use dot notation for sub-object fields.",
"value_schema": {
"val_type": "string"
}
},
{
"name": "included_fields",
"required": false,
"inferrable": true,
"description": "A comma-separated list of fields to include in the response. Use dot notation to specify sub-object parameters.",
"value_schema": {
"val_type": "string"
}
}
]
} Output
{
"description": "Response from the API endpoint 'getCampaignsIdContent'.",
"value_schema": {
"val_type": "json"
},
"available_modes": [
"value",
"error"
]
}