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
| Endpoint | Method | Description |
|---|---|---|
/api/v1/links | GET | List all UTM links with filtering |
/api/v1/links | POST | Create one or batch of UTM links |
/api/v1/templates | GET | List all templates |
/api/v1/templates | POST | Create a new template |
/api/v1/rules | GET | List all rule sets |
/api/v1/rules | POST | Create a new rule set |
/api/v1/attributes | GET | List all attributes and values |
/api/v1/attributes | POST | Add values to an attribute |
/api/v1/validate | POST | Validate 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 Name | Description |
|---|---|
list_links | Retrieve and filter your UTM link library |
create_link | Create a single UTM link |
create_links_batch | Create up to 100 links in one call |
list_templates | Discover available UTM templates |
create_template | Build a new UTM template |
validate_url | Validate a URL against all active rules |
list_rule_sets | View all validation rule sets |
create_rule_set | Create a new rule set with composite patterns |
list_attributes | View all controlled attribute values |
upsert_attribute | Add 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.
| Plan | Monthly Link Limit | API Access |
|---|---|---|
| Free | 100 links/month | Yes |
| Starter ($19/mo) | 2,000 links/month | Yes |
| Pro ($29/mo) | 20,000 links/month | Yes |
| Agency/Scale ($99/mo) | Unlimited | Yes |
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:
- Campaign Brief Arrives: A new campaign brief is uploaded to a shared folder.
- Agent Reads the Brief: Manus reads the brief and extracts campaign details (name, channels, target audience).
- Agent Calls UTM Mind: Using the
list_templatestool, the agent finds the correct template for each channel. It then callscreate_links_batchto generate all required UTM links in one shot. - Validation is Automatic: Every generated link is validated against the active rule sets before being returned. No invalid links can be created.
- 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.