Retrieve information about sent emails from Mautic via an API

Your software
My Mautic version is: (not sure which version)
My PHP version is: 8.0.30
My Database type and version is: 10.11.10-MariaDB-log

Your problem

Hi everyone,

I’m looking for a way to retrieve information about sent emails from Mautic via an API (or a similar method) to display this data in a digital dossier where the Mautic contacts originate from. The goal is to show within the dossiers that a campaign email has been sent to a specific contact.

In the user guide, I can only find API information related to sending emails, but not about retrieving data on sent emails.

Is this possible? If so, how?

Thanks in advance!

you could create a report for Emails sent, e.g. with data id, campaign_id, contact_id
and fetch that via API Mautic Developer Documentation

1 Like

Thanks a lot! I’m going to try this :slight_smile:

other ways to achieve this is you can use Metabase which is an open source BI tool, it works nicely with Mautic, or you can tap directly into the database, a lot more complicated…