New Email Template Update API

Modified on Tue, 17 Feb at 3:00 AM

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,
     and 
    isPlainText
     with a simplified structure using 
    editorType
     and 
    editorContent,
     with 
    isPlainText
     now 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.
  • from Email is validated for proper email format.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article