Mautic integration
Mautic REST API for a self-hosted marketing automation instance: list, read, create, edit and delete contacts, add and remove contacts from segments and campaigns, browse segments, campaigns and emails, send an email to one contact or to whole segments, and read forms with their submissions. Authentication uses HTTP basic auth with a Mautic username and password.
Common Mautic use cases
- honouring an erasure request
- sending a newsletter to a segment
- checking the subject before sending
- mapping segment names to identifiers
- exporting contacts into a data warehouse
- pulling new form entries into a workflow
- pushing sign-ups from a form into Mautic
- finding the campaign to enrol a contact in
- finding the email identifier before sending
- taking a converted lead out of a nurture list
What you can do with Mautic
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Contact, 5 operations
- POSTcreate_contact
Adds a contact with its core and custom field values.
- DELETEdelete_contact
Removes a contact permanently.
- PATCHedit_contact
Changes a contact without touching the fields you leave out.
- GETget_contact
Reads one contact with every field value.
- GETlist_contacts
Returns a page of contacts with their field values.
Campaign, 4 operations
- POSTadd_contact_to_campaign
Adds one contact to a campaign so it starts walking its steps.
- GETget_campaign
Reads one campaign with its events and connected segments.
- GETlist_campaigns
Returns the campaigns defined on the instance.
- POSTremove_contact_from_campaign
Stops a contact from continuing through a campaign.
Email, 4 operations
- GETget_email
Reads one email with its content and statistics.
- GETlist_emails
Returns the emails defined on the instance with their send counters.
- POSTsend_email_to_contact
Delivers a prepared email to a single contact.
- POSTsend_email_to_segment
Delivers an email to whole segments and reports how many recipients it reached.
Segment, 3 operations
- POSTadd_contact_to_segment
Puts one contact into a segment manually.
- GETlist_segments
Returns the segments defined on the instance.
- POSTremove_contact_from_segment
Takes one contact out of a segment.
Form, 1 operation
- GETlist_forms
Returns the forms defined on the instance.
Submission, 1 operation
- GETlist_form_submissions
Returns what visitors entered into a form.
Use Mautic from Claude Code, Cursor or Codex
Connect Mautic in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Mautic operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Mautic
Create your workspace
Sign up free. Nothing to install.
Connect Mautic once
Add your Mautic connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Mautic integration FAQ
- What can you do with the Mautic integration?
- LiveContext exposes 18 operations on Mautic, covering contact, campaign, email and segment. Common uses include honouring an erasure request, sending a newsletter to a segment and checking the subject before sending.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…