# Guide: Setting Up Mautic API in Stripo

**URL:** <https://forum.mautic.org/t/guide-setting-up-mautic-api-in-stripo/35153>\
**Category:** Documentation\
**Created:** [February 28, 2025, 4:19pm UTC](https://forum.mautic.org/t/guide-setting-up-mautic-api-in-stripo/35153 "2025-02-28T16:19:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![techbill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/techbill/32/8325_2.png) [@techbill](https://forum.mautic.org/u/techbill)\
**Post date:** [February 28, 2025, 4:19pm UTC](https://forum.mautic.org/t/guide-setting-up-mautic-api-in-stripo/35153/1 "2025-02-28T16:19:58Z")

</div>

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**

1. Log into **Mautic** and navigate to **Settings (gear icon) → Configuration → API Settings**.
2. Ensure the following settings are enabled:

- ✅ **API enabled** = Yes
- ✅ **Enable HTTP basic auth** = Yes
- ✅ **CORS settings** = No restriction (or explicitly allow `https://stripo.email` ).

1. Save the settings.

### **Step 2: Generate API Credentials in Mautic**

1. Go to **Settings → API Credentials**.
2. Click **New** → Select **OAuth2**.
3. Provide a **name** (e.g., “Stripo Export”) and set the **Redirect URL** to:

```auto
https://stripo.email/oauth/mautic

```

1. Click **Save** and copy the **Public Key (Client ID)** and **Secret Key (Client Secret)**.

### **Step 3: Connect Mautic API to Stripo**

1. Open **Stripo** and navigate to **Export → Add Export Destination**.
2. Select **Mautic** from the list.
3. 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

1. Click **Authorize** and follow the authentication prompts.
2. Once connected, Stripo will confirm the successful link to Mautic.

### **Step 4: Exporting Email Templates from Stripo to Mautic**

1. Open an **email template** in Stripo.
2. Click **Export → Mautic**.
3. Select the **type of email** and the **Mautic segment** where the email should be sent.
4. 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

---

<div class="post-metadata">

**Author:** ![ckgoh665](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ckgoh665/32/14313_2.png) [@ckgoh665](https://forum.mautic.org/u/ckgoh665)\
**Post date:** [August 4, 2025, 4:27pm UTC](https://forum.mautic.org/t/guide-setting-up-mautic-api-in-stripo/35153/2 "2025-08-04T16:27:31Z")

</div>

Hi, @techbill

Good to share this. TQ.
