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.

Mautic Endpoints: Read
EndpointDescription
GET /contacts Contacts of your Mautic with email, points and segments, newest first.
GET /contacts/{contact_id} One contact with its fields, points, segments and campaigns.
GET /contacts/{contact_id}/history The contact timeline: emails sent and read, forms submitted, imports, segment and campaign changes.
GET /segments Segments with alias, type, active state and contact count.
GET /segment-contacts Contacts in one segment, with email and points.
GET /campaigns Campaigns with their Active state and category.
GET /emails Emails with type (template or segment), published state and the segments a segment email goes to.
GET /emails/{email_id}/stats Opens, click-throughs, bounces and clicks per link for one email.
GET /forms Forms under Components with type, published state and fields.

Write (6)

Change the account. Calls marked Confirm wait for the user to approve them.

Mautic Endpoints: Write
EndpointDescription
POST /contacts Adds one contact, like Quick Add or Add new Contact.
POST /duplicates/{duplicate_id}/contacts/{contact_id}/merge Confirm Merges a duplicate into a contact, like the Merge item on the contact page.
PATCH /contact-segments Adds contacts to segments and removes them from others, like the Change Segments batch action.
PUT /do-not-contact Confirm Marks contacts Do Not Contact for email, with a reason, like the Set Do Not Contact (DNC) batch action.
POST /segments Confirm Creates a segment with a name and, for a dynamic one, filters.
PUT /campaigns/{campaign_id}/active Confirm Switches the Active state of a campaign on or off.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.