mailchimp_get_campaign
Pack: mailchimp · Endpoint: https://gateway.pipeworx.io/mailchimp/mcp
Get full details of a campaign by ID (e.g., “abc123def456”). Returns settings, tracking configuration, performance stats, and send history.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | Mailchimp API key |
campaign_id | string | yes | Campaign ID |
Example call
Arguments
{
"_apiKey": "your-mailchimp-api-key",
"campaign_id": "abc123def456"
}
curl
curl -X POST https://gateway.pipeworx.io/mailchimp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mailchimp_get_campaign","arguments":{"_apiKey":"your-mailchimp-api-key","campaign_id":"abc123def456"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mailchimp_get_campaign', {
"_apiKey": "your-mailchimp-api-key",
"campaign_id": "abc123def456"
});
Response shape
| Field | Type | Description |
|---|---|---|
id | string | Campaign ID |
type | string | Campaign type |
create_time | string | ISO date when campaign was created |
archive_url | string | Archive URL |
long_archive_url | string | Long archive URL |
status | string | Campaign status |
emails_sent | number | Number of emails sent |
send_time | string | Send time ISO date |
from_name | string | From name |
reply_to | string | Reply-to email |
title | string | Campaign title |
subject_line | string | Email subject line |
preview_text | string | Preview text |
list_id | string | Associated audience/list ID |
template_id | number | Template ID |
web_id | number | Web ID |
settings | object | Campaign settings |
tracking | object | Tracking configuration |
report_summary | object | Performance summary statistics |
_links | array | HAL links |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Campaign ID"
},
"type": {
"type": "string",
"description": "Campaign type"
},
"create_time": {
"type": "string",
"description": "ISO date when campaign was created"
},
"archive_url": {
"type": "string",
"description": "Archive URL"
},
"long_archive_url": {
"type": "string",
"description": "Long archive URL"
},
"status": {
"type": "string",
"description": "Campaign status"
},
"emails_sent": {
"type": "number",
"description": "Number of emails sent"
},
"send_time": {
"type": "string",
"description": "Send time ISO date"
},
"from_name": {
"type": "string",
"description": "From name"
},
"reply_to": {
"type": "string",
"description": "Reply-to email"
},
"title": {
"type": "string",
"description": "Campaign title"
},
"subject_line": {
"type": "string",
"description": "Email subject line"
},
"preview_text": {
"type": "string",
"description": "Preview text"
},
"list_id": {
"type": "string",
"description": "Associated audience/list ID"
},
"template_id": {
"type": "number",
"description": "Template ID"
},
"web_id": {
"type": "number",
"description": "Web ID"
},
"settings": {
"type": "object",
"description": "Campaign settings"
},
"tracking": {
"type": "object",
"description": "Tracking configuration"
},
"report_summary": {
"type": "object",
"description": "Performance summary statistics"
},
"_links": {
"type": "array",
"description": "HAL links"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mailchimp": {
"url": "https://gateway.pipeworx.io/mailchimp/mcp"
}
}
}
See Getting Started for client-specific install steps.