Mautic
Self-hosted marketing automation: contacts, segments, campaigns, and email, with an official REST API.
Mautic is the largest open-source marketing automation platform: contact database, segments, drip campaigns, email builder, forms, landing pages, and reports, all self-hosted on PHP and MySQL. Configuration lives in config/local.php written by the installer. The Builder documents a REST API at devdocs.mautic.org that an agent uses to manage contacts, segments, emails, and campaigns.
- I want HubSpot-style drips and segments on my own server, with contacts I own
- I need my agent to add leads, tag them into segments, and trigger campaigns over an API
- GPL-3.0 (GitHub shows NOASSERTION; composer.json says GPL-3.0)
- The REST API is disabled by default and must be switched on in Configuration > API Settings
- Segments, campaigns, and email sends depend on cron jobs; without them nothing moves
- README warns against running from the GitHub source in production; use the mautic.org package or Composer
- Requires PHP and MySQL versions matching the release's supported versions page
Last activity Sep 3, 2026. Fit: adaptable 2, operable 3.
Editions
Self-hosted · Free open source
- Clone
git clone https://github.com/mautic/mautic - DownloadDownload
- Install
composer create-project mautic/recommended-project
Hosted trial and partners · Free closed source
- HostedOpen the hosted app
Adaptable: what is yours to change
Make it yours
Config only6 things to edit
The installer writes config/local.php with database, mailer, site URL, and API settings; .env only carries APP_ENV and APP_DEBUG. Enable the API under Settings > Configuration > API Settings before an agent can log in. Themes for emails and pages live in themes/ and plugins in plugins/; no code edits are needed to run it as your own automation stack.
- Env vars
APP_ENVAPP_DEBUG- Config files
config/local.php.envthemes/plugins/- Prompt files
- none
- Accounts you need
- email delivery provider (SMTP, Amazon SES, Sendgrid, Mailgun, or similar)
Source
- github.com/mautic/mautic
- GPL-3.0 license
- Last commit Sep 3, 2026
- 10,434 stars
Operable: what an agent can drive
Interface
OfficialAPIpublished by the builderlocal
How an agent can drive an Operable Listing, in five levels: native (built for the agent as the primary interface), official (the Builder ships an agent interface), wrapped (a third party wraps the software's API), config (an agent can only drive it by editing files), gui (screen control only). An interface is official only when it is published by the same organization that ships the software. GUI-level Listings are allowed and sorted last.
Reach
Partial coverage. 9 of 10 jobs reachable through the stated interface.
| Job | Through the interface | Evidence |
|---|---|---|
| Manage contacts and companies | Reachable | REST API contacts and companies endpoints (devdocs.mautic.org; triage-confirmed) |
| Build segments | Reachable | REST API segments endpoint with add/remove contact |
| Create and send emails | Reachable | REST API emails endpoint with send-to-contact and send-to-segment |
| Run drip campaigns | Reachable | REST API campaigns endpoint; campaign events are also creatable, with a steeper payload |
| Collect leads with forms | Reachable | REST API forms endpoint and submissions |
| Publish landing pages | Reachable | REST API pages endpoint |
| Host tracked assets | Reachable | REST API assets endpoint |
| Score with points and stages | Reachable | REST API points, point triggers, and stages endpoints |
| Pull reports | Reachable | REST API reports endpoint |
| Design email and page themes | Undetermined | themes are zip uploads; API theme endpoint existence not verified during analysis |
Code stack
- Languages
- PHPJavaScript
- Frameworks
- SymfonyDoctrine
- Package manager
- composer
- Database
- MySQLMariaDB
- Hosting target
- LAMP hostDocker (mautic/docker-mautic)DDEV (dev)
- Built
- Human-written (recorded, never ranked)
Evidence and confidence
| Field | Where it was seen | Confidence |
|---|---|---|
| formFactor | README: PHP web application installed with Composer or zip with a web installer | 95% |
| executionModel | no model at runtime | 95% |
| operability | devdocs.mautic.org (Builder domain) documents the REST API; endpoint page URL returned 404 during analysis so resource list is from triage plus prior knowledge | 85% |
| effort | repo has config/ (installer target for local.php), .env with APP_ENV and APP_DEBUG, themes/ and plugins/ | 80% |
| editions | README: self-host completely free; trials through the mautic.org form | 80% |
| active | pushedAt 2026-09-03; 179 open issues | – |
| provenance | project since 2014 with foundation governance; no vibe-coded claim | 90% |
| reach | 65% |
Open questions
- Find the current REST API reference URL under devdocs.mautic.org and verify the endpoint list; the guessed rest_api path 404'd
- Does the API expose theme upload?
- Who offers paid hosted Mautic and at what price (Acquia or partners)?
Sources
- github.com/mautic/mautic sourcing:content-publishing:curated
- devdocs.mautic.org/ analysis:content-publishing
- www.mautic.org/download analysis:content-publishing