A draft marketing email is created with POST /marketing/v3/emails and { name, subject, templatePath }, for example templatePath: "@hubspot/email/dnd/Plain_email.html".
Measured
More facts from this area
- With HubSpot's Brands add-on, creating a marketing email without
businessUnitIdfails: "You must specify a business unit to create an email. Add a value to the businessUnitId field". The field still carries the add-on's former name (business units); the create takes the brand's ID as an integer and a read returns it as a string. Forms and campaigns were created without one on the same portal, and HubSpot's campaign create documents no brand field (a campaign's read showsbusinessUnitsonce it is tied to a brand).Documented and measured - Publishing a marketing email through the API needs Marketing Hub Enterprise.Source pending
Spriggit uses these facts when it plans changes. See something out of date? Email [email protected]