newemail builderapiยท
New Email Template Update API ๐
Weโve introduced a new endpoint that allows updating Email Builder templates and email settings in a single API call.
๐ What is New?
**New Endpoint ** PATCH /emails/builder/:templateId
โข Updates existing email builder templates.
โข Maintains all existing update behavior.
โข Now supports updating: subject fromName fromEmail previewText
Simplified Editor Payload
- Streamlined structure for passing editor type and editor content.
- Replaced
type, html/dnd,andisPlainTextwith a simplified structure usingeditorTypeandeditorContent,withisPlainTextnow derived automatically.
โ ** Impact**
- Full control of template content and email settings via API.
- Faster campaign updates without previous limitations.
- Simpler, cleaner integration experience.
- Fully backward compatible.
๐ Notes
- All template settings fields are optional.
- fromEmail is validated for proper email format.
๐ Help Doc: https://marketplace.NextLevel.com/docs/ghl/emails/patch-template/index.html
