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,

     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.
  • fromEmail is validated for proper email format.