# create an marketing email via API with a table insert

**URL:** <https://community.hubspot.com/t/create-an-marketing-email-via-api-with-a-table-insert/68161>\
**Category:** APIs & Integrations\
**Created:** [October 29, 2022, 4:15am UTC](https://community.hubspot.com/t/create-an-marketing-email-via-api-with-a-table-insert/68161 "2022-10-29T04:15:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [October 29, 2022, 7:50pm UTC](https://community.hubspot.com/t/create-an-marketing-email-via-api-with-a-table-insert/68161/2 "2022-10-29T19:50:18Z")

</div>

Hi @karien

You could create a [Custom Module](https://knowledge.hubspot.com/design-manager/create-and-edit-modules) that can be added to an email.

The code in your Custom Module could pull in the data you need.

Have fun

Mike

---

_[View the full topic](https://community.hubspot.com/t/create-an-marketing-email-via-api-with-a-table-insert/68161)._
