mailchimp_list_campaigns

Pack: mailchimp · Endpoint: https://gateway.pipeworx.io/mailchimp/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mailchimp_list_campaigns for the schema, then POST the same URL with its arguments for the data.

View all email campaigns. Returns title, type (e.g., “regular”, “automation”), status, and send timestamps. Use mailchimp_get_campaign for full details.

Parameters

NameTypeRequiredDescription
_apiKeystringyesMailchimp API key
countnumbernoNumber of campaigns to return (default 10, max 1000)
offsetnumbernoOffset for pagination (default 0)
statusstringnoFilter by status: save, paused, schedule, sending, sent

Example call

Arguments

{
  "_apiKey": "your-mailchimp-api-key"
}

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_list_campaigns","arguments":{"_apiKey":"your-mailchimp-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('mailchimp_list_campaigns', {
  "_apiKey": "your-mailchimp-api-key"
});

More examples

{
  "_apiKey": "your-mailchimp-api-key",
  "status": "sent",
  "count": 25
}

Response shape

FieldTypeDescription
campaignsarrayArray of campaigns
total_itemsnumberTotal number of campaigns
_linksarrayHAL links
Full JSON Schema
{
  "type": "object",
  "properties": {
    "campaigns": {
      "type": "array",
      "description": "Array of campaigns",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Campaign ID"
          },
          "type": {
            "type": "string",
            "description": "Campaign type (regular, automation, etc.)"
          },
          "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",
            "enum": [
              "save",
              "paused",
              "schedule",
              "sending",
              "sent"
            ],
            "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"
          },
          "_links": {
            "type": "array",
            "description": "HAL links"
          }
        }
      }
    },
    "total_items": {
      "type": "number",
      "description": "Total number of campaigns"
    },
    "_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.

Regenerated from source · build September 22, 2026