# Create email using api with external content

**URL:** <https://community.hubspot.com/t/create-email-using-api-with-external-content/118481>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [October 16, 2024, 10:05am UTC](https://community.hubspot.com/t/create-email-using-api-with-external-content/118481 "2024-10-16T10:05:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexRWS](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@AlexRWS](https://community.hubspot.com/u/AlexRWS)\
**Post date:** [October 16, 2024, 10:05am UTC](https://community.hubspot.com/t/create-email-using-api-with-external-content/118481/1 "2024-10-16T10:05:17Z")

</div>

I need to create email(ideally based on custom template) with latest news from our website.  
I created email using /marketing-emails/v1/emails/ api but I do not see how I can add or change email content?  
What is the best approach to do this?  
Thanks  
Alex

---

<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:** [October 16, 2024, 7:29pm UTC](https://community.hubspot.com/t/create-email-using-api-with-external-content/118481/2 "2024-10-16T19:29:47Z")

</div>

Hey, @AlexRWS 👋 There are two endpoints for editing or updating a Marketing email:

- Legacy [https://legacydocs.hubspot.com/docs/methods/cms\_email/update-a-marketing-email](https://legacydocs.hubspot.com/docs/methods/cms_email/update-a-marketing-email)
- [Update a marketing email](https://developers.hubspot.com/docs/api/marketing/marketing-email) `PATCH /marketing/v3/emails/{emailId}`

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [October 17, 2024, 1:47pm UTC](https://community.hubspot.com/t/create-email-using-api-with-external-content/118481/3 "2024-10-17T13:47:50Z")

</div>

Hi @AlexRWS

here is the link for the marketing email API of V3.

> **[Marketing API | Marketing Email - HubSpot docs](https://developers.hubspot.com/docs/api-reference/legacy/marketing/marketing-emails/guide)**
>
> Learn how to create, update, and retrieve data for your emails using the Marketing Emails v3 API.

**To create the email**

 ![GRajput_0-1729172735280.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/3/937756faf80becd8230792d1a4680d6278feaf82.png)

**To Update the email -**

 ![GRajput_1-1729172790659.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/d8c12028191cbdeae126f08491e33990546512eb.png)

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!
