UTM Mind

Automate Your Marketing Workflow: Integrating UTM Mind with AI Agents via API & MCP

In the world of digital marketing, consistency is king. Inconsistent UTM parameters lead to chaotic analytics, wasted ad spend, and an inability to accurately measure campaign performance. But what if you could automate the entire process — from link generation to validation — directly within your existing AI-powered workflows?

Welcome to the future of UTM management. UTM Mind now offers a powerful REST API and first-class support for AI Agents through a Model Context Protocol (MCP) Server, allowing you to programmatically control every aspect of your UTM governance.


The Problem: Manual UTMs Don't Scale

Manually creating, tracking, and validating UTM links is tedious, error-prone, and a significant bottleneck for fast-moving marketing teams. Spreadsheets get messy, naming conventions are forgotten, and the data flowing into your analytics platforms becomes unreliable.

This is where automation becomes a necessity, not a luxury. The solution is to embed UTM governance directly into your existing automated workflows — and UTM Mind makes this possible with two powerful integration options.


Option 1: The REST API — For Universal Integrations

For traditional integrations, the UTM Mind REST API provides full programmatic access to your workspace. Any system that can make an HTTP request — Zapier, Make, your internal scripts, or a custom dashboard — can now create, validate, and manage UTM links at scale.

Authentication

All API requests are authenticated using a Bearer token (API Key). Generate your key from Dashboard → Workspace → API & Integrations.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://www.utmmind.com/api/v1/templates

Available Endpoints

EndpointMethodDescription
/api/v1/linksGETList all UTM links with filtering
/api/v1/linksPOSTCreate one or batch of UTM links
/api/v1/templatesGETList all templates
/api/v1/templatesPOSTCreate a new template
/api/v1/rulesGETList all rule sets
/api/v1/rulesPOSTCreate a new rule set
/api/v1/attributesGETList all attributes and values
/api/v1/attributesPOSTAdd values to an attribute
/api/v1/validatePOSTValidate a URL or field map

Creating a Batch of Links

curl -X POST https://www.utmmind.com/api/v1/links \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "links": [
      {
        "baseUrl": "https://acme.com/summer-sale",
        "utm_source": "google",
        "utm_medium": "cpc",
        "utm_campaign": "summer-sale-2026"
      },
      {
        "baseUrl": "https://acme.com/summer-sale",
        "utm_source": "facebook",
        "utm_medium": "paid_social",
        "utm_campaign": "summer-sale-2026"
      }
    ]
  }'

Option 2: The MCP Server — For AI-Native Agent Workflows

The Model Context Protocol (MCP) is the emerging standard for agent-to-agent communication. UTM Mind's MCP Server allows AI assistants like Manus, Claude Desktop, and Cursor to discover and call UTM tools natively — no custom API client code required.

Why MCP is the Better Choice for AI Agents

With a traditional REST API, you need to write custom code to describe your API to an AI agent. With MCP, the agent automatically discovers what tools are available, what parameters they accept, and how to call them. It's the difference between handing someone a manual and having a conversation.

Getting Started with Manus

Add the following to your Manus MCP configuration:

{
  "mcpServers": {
    "utm-mind": {
      "url": "https://www.utmmind.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Once configured, you can give your agent commands like:

"Using utm-mind, generate 10 UTM links for our new product launch across Google, Facebook, and TikTok, using the 'Q4 Launch' template."

"Validate this URL and tell me if it passes our active rule sets: https://acme.com?utm_source=google&utm_medium=cpc&utm_campaign=summer_sale"

Available MCP Tools

Tool NameDescription
list_linksRetrieve and filter your UTM link library
create_linkCreate a single UTM link
create_links_batchCreate up to 100 links in one call
list_templatesDiscover available UTM templates
create_templateBuild a new UTM template
validate_urlValidate a URL against all active rules
list_rule_setsView all validation rule sets
create_rule_setCreate a new rule set with composite patterns
list_attributesView all controlled attribute values
upsert_attributeAdd or update attribute values

Plan Limits Apply to All API & MCP Calls

API and MCP calls are subject to the same plan limits as the dashboard. This ensures fair usage and predictable costs.

PlanMonthly Link LimitAPI Access
Free100 links/monthYes
Starter ($19/mo)2,000 links/monthYes
Pro ($29/mo)20,000 links/monthYes
Agency/Scale ($99/mo)UnlimitedYes

When a limit is reached, the API returns a 429 Too Many Requests response with a clear message and an upgrade link.


Building a UTM Agent: A Real-World Example

Here is an example of how a marketing operations team could use UTM Mind's MCP Server with Manus to automate their entire campaign launch workflow:

  1. Campaign Brief Arrives: A new campaign brief is uploaded to a shared folder.
  2. Agent Reads the Brief: Manus reads the brief and extracts campaign details (name, channels, target audience).
  3. Agent Calls UTM Mind: Using the list_templates tool, the agent finds the correct template for each channel. It then calls create_links_batch to generate all required UTM links in one shot.
  4. Validation is Automatic: Every generated link is validated against the active rule sets before being returned. No invalid links can be created.
  5. Links are Delivered: The agent writes the validated links back to a Google Sheet or sends them to the team via Slack.

The entire process — from brief to validated links — takes seconds, not hours, and requires zero manual input.


Get Started Today

Ready to build your own UTM Agent? Head to Dashboard → Workspace → API & Integrations to generate your first API key. The MCP Server URL is https://www.utmmind.com/api/mcp.

For questions or support, reach out at hi@utmmind.com.

UTM Mind
© 2026 UTM Mind. All rights reserved.