# Cannot create landing page with custom HTML via the API

**URL:** <https://forum.mautic.org/t/cannot-create-landing-page-with-custom-html-via-the-api/30107>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [December 3, 2023, 9:33am UTC](https://forum.mautic.org/t/cannot-create-landing-page-with-custom-html-via-the-api/30107 "2023-12-03T09:33:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lasse](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@lasse](https://forum.mautic.org/u/lasse)\
**Post date:** [December 3, 2023, 9:33am UTC](https://forum.mautic.org/t/cannot-create-landing-page-with-custom-html-via-the-api/30107/1 "2023-12-03T09:33:03Z")

</div>

**Your software**  
My Mautic version is: 4.4.10  
My PHP version is: 7.4.33  
My Database type and version is: mysql

**Your problem**

I want to create a landing page via the API while providing custom HTML.

- There seems to be no documentation of this in the docs, however I suspect this must exist
- Tried passing “customHtml” to the pages create and edit endpoint (since that’s how the mail endpoints are working)
- Tried passing “newContent” to the pages create and edit endpoint (I saw that parameter being used when trying to reverse engineer how the frontend is doing it)
- Tried posting to /s/pages/edit/ with an URL encoded page[customHtml] parameter (because that seems to be what the UI is doing if I’m interpreting this correctly)

Is there something available I can use that is simply undocumented?
