{
  "info": {
    "name": "Campaign Cleaner — mcp.ai",
    "description": "REST API for the Campaign Cleaner MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/campaign_cleaner",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "campaign_cleaner_delete_campaign",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/campaign",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "campaign"
          ]
        },
        "description": "Tool to delete a saved campaign by ID. Use when you need to remove a campaign after confirming its ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "campaign_cleaner_get_campaign_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/campaign/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "campaign",
            "list"
          ]
        },
        "description": "Tool to list all campaigns in the account. Use when you need to retrieve campaign listings for reporting or management.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "campaign_cleaner_get_campaign_pdf_analysis",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/campaign/pdf/analysis",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "campaign",
            "pdf",
            "analysis"
          ]
        },
        "description": "Download a PDF analysis report for a processed campaign. The report includes deliverability analysis, spam score assessment, and optimization recommendations. Use this after a campaign has been submit",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "campaign_cleaner_get_campaign_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/campaign/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "campaign",
            "status"
          ]
        },
        "description": "Tool to check the processing status of a submitted campaign. Use after submitting a campaign to monitor its progress.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"campaign\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "campaign_cleaner_get_credits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/credits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "credits"
          ]
        },
        "description": "Tool to retrieve the number of available credits in your Campaign Cleaner account. Credits are consumed when calling the send_campaign API.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}