# Is there a way to create custom modules via API?

**URL:** <https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [January 13, 2025, 2:59pm UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793 "2025-01-13T14:59:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RVallejos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RVallejos](https://community.hubspot.com/u/RVallejos)\
**Post date:** [January 13, 2025, 2:59pm UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793/1 "2025-01-13T14:59:21Z")

</div>

Hi everyone, I’d like to add a new custom module to use it for marketing email composing.

I’ve created this manually by using this menu

 ![RVallejos_0-1736778449565.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/4/94a98209e79196cef153b34f7933e9c699b82483.png)

However, I intend to avoid the manual creation since it uses HTML, avoid possible mistakes, and add this via the HubSpot API.  
Is this possible?

Thank you

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 13, 2025, 5:24pm UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793/2 "2025-01-13T17:24:25Z")

</div>

Hey, @RVallejos 👋 Thanks for the question. This one isn’t an option via our endpoints. You’ll need to do this via the CLI or in-app in the Design Manager — “Modules are created [**using the local development tools**](https://developers.hubspot.com/docs/guides/cms/content/modules/quickstart) or [**using the Design Manager**](https://knowledge.hubspot.com/cos-general/create-and-edit-modules)” ([**source**](https://developers.hubspot.com/docs/guides/cms/content/modules/overview#:~:text=Modules%20are%20created%20using%20the%20local%20development%20tools%20or%20using%20the%20Design%20Manager)).

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![NBrown67](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@NBrown67](https://community.hubspot.com/u/NBrown67)\
**Post date:** [January 13, 2025, 6:18pm UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793/3 "2025-01-13T18:18:33Z")

</div>

There is a way to do this - it’s just not documented.

---

<div class="post-metadata">

**Author:** ![RVallejos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RVallejos](https://community.hubspot.com/u/RVallejos)\
**Post date:** [January 14, 2025, 3:26am UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793/4 "2025-01-14T03:26:42Z")

</div>

Thank you. Which one is the way to do it? Could you help me with it?

---

<div class="post-metadata">

**Author:** ![RVallejos](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@RVallejos](https://community.hubspot.com/u/RVallejos)\
**Post date:** [January 15, 2025, 1:22am UTC](https://community.hubspot.com/t/is-there-a-way-to-create-custom-modules-via-api/123793/5 "2025-01-15T01:22:33Z")

</div>

Thank you, Jaycee!  
So, if I understood correctly, and just to confirm, is there no option to create a public custom module that can be reused by any account later?
