APIs & Integrations

adams1
Member

Getting and Updating emails body

Hey,
how can I get and update email body via API?
I'm able to get the body via
GET https://api.hubapi.com/content/api/v2/emails

but I don't know how to update the body.
Trying to do PUT and update key 'hs_email_body' results in 500 error.

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Getting and Updating emails body

Hi @adams,

There currently isn't a public Email API; that endpoint appears to be an internal endpoint that still functions with external auth. Anything that isn't publicly documented in our Developer Docs isn't officially supported and is prone to be changed/deprecated without warning. If you're interested in a public Email API, you might consider the Transactional Email API:

0 Upvotes