After a few trials and errors, I finally managed to get the Mautic export in Stripo working. I’m posting this guide here in hopes of saving others from some headaches. My setup is Mautic 4.
Step 1: Enable API in Mautic
- Log into Mautic and navigate to Settings (gear icon) → Configuration → API Settings.
- Ensure the following settings are enabled:
API enabled = Yes
Enable HTTP basic auth = Yes
CORS settings = No restriction (or explicitly allow
https://stripo.email
).
- Save the settings.
Step 2: Generate API Credentials in Mautic
- Go to Settings → API Credentials.
- Click New → Select OAuth2.
- Provide a name (e.g., “Stripo Export”) and set the Redirect URL to:
https://stripo.email/oauth/mautic
- Click Save and copy the Public Key (Client ID) and Secret Key (Client Secret).
Step 3: Connect Mautic API to Stripo
- Open Stripo and navigate to Export → Add Export Destination.
- Select Mautic from the list.
- Enter the following details:
- Export Account Name: Any name for reference (e.g., “Mautic Primary”)
- Mautic API URL:
https://yourmauticdomain.com
- Client ID: Paste the Public Key from Mautic
- Client Secret: Paste the Secret Key from Mautic
- Click Authorize and follow the authentication prompts.
- Once connected, Stripo will confirm the successful link to Mautic.
Step 4: Exporting Email Templates from Stripo to Mautic
- Open an email template in Stripo.
- Click Export → Mautic.
- Select the type of email and the Mautic segment where the email should be sent.
- Click Export, and the email will appear in Mautic → Email Channel.
One of the issues I ran into when exporting was an error on Stripo related to images. It turned out that I had to increase the size setting in php.ini
to resolve the issue.
Bill