# Unable to submit HTML in note text via API

**URL:** https://forum.mautic.org/t/unable-to-submit-html-in-note-text-via-api/29756
**Category:** Product Support
**Tags:** mautic-4
**Created:** [October 25, 2023, 9:52pm UTC](https://forum.mautic.org/t/unable-to-submit-html-in-note-text-via-api/29756 "2023-10-25T21:52:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![richmarks20](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/richmarks20/32/7266_2.png) [@richmarks20](https://forum.mautic.org/u/richmarks20)
#### Post date: [October 25, 2023, 9:52pm UTC](https://forum.mautic.org/t/unable-to-submit-html-in-note-text-via-api/29756/1 "2023-10-25T21:52:25Z")

</div>

**Your software**  
My Mautic version is: 4.4.5  
My PHP version is: 7.4.33  
My Database type and version is: MySQL

**Your problem**  
I cant find a way to supply rich/HTML content when using the add note API via /api/notes/new - it seems to strip HTML tags, just leaving the plain text.

When making the request, if I supply body;

```auto
{
"lead": "1160",
"text": "<strong>testABC</strong>",
"type": "email",
"dateTime": "2023-10-25 21:34:52"
}

```

I only get “text”: “testABC” in the response (and in the mautic UI).

Any ideas/suggestions much appreciated.

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [October 26, 2023, 11:08am UTC](https://forum.mautic.org/t/unable-to-submit-html-in-note-text-via-api/29756/2 "2023-10-26T11:08:08Z")

</div>

Hi, you are doing nothing wrong. it’s broken.

---

<div class="post-metadata">

### Author: ![entrepositive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/entrepositive/32/9645_2.png) [@entrepositive](https://forum.mautic.org/u/entrepositive)
#### Post date: [December 6, 2024, 3:00pm UTC](https://forum.mautic.org/t/unable-to-submit-html-in-note-text-via-api/29756/3 "2024-12-06T15:00:26Z")

</div>

Ugh… Is this perhaps fixed in v5?

It would be nice to have [even just basic] formatting when saving an email, etc as a note.

Honestly, even just line breaks would be a huge win.
