Mautic API
15 endpoints for Mautic, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/mautic
- Connects with
- Your own Mautic user on your instance, with access to the contacts, segments, campaigns and emails the agent should use
- Integration page
- Mautic
Read (9)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Contacts of your Mautic with email, points and segments, newest first. |
| GET | One contact with its fields, points, segments and campaigns. |
| GET | The contact timeline: emails sent and read, forms submitted, imports, segment and campaign changes. |
| GET | Segments with alias, type, active state and contact count. |
| GET | Contacts in one segment, with email and points. |
| GET | Campaigns with their Active state and category. |
| GET | Emails with type (template or segment), published state and the segments a segment email goes to. |
| GET | Opens, click-throughs, bounces and clicks per link for one email. |
| GET | Forms under Components with type, published state and fields. |
Write (6)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Adds one contact, like Quick Add or Add new Contact. |
| POST | Merges a duplicate into a contact, like the Merge item on the contact page. |
| PATCH | Adds contacts to segments and removes them from others, like the Change Segments batch action. |
| PUT | Marks contacts Do Not Contact for email, with a reason, like the Set Do Not Contact (DNC) batch action. |
| POST | Creates a segment with a name and, for a dynamic one, filters. |
| PUT | Switches the Active state of a campaign on or off. |