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.gohighlevel.com/docs/ghl/emails/patch-template/index.html
