New Email Template Update API 🚀

We have introduced a new endpoint that allows for the updating of Email Builder templates and email settings in a single API call.

New Endpoint

PATCH

/emails/builder/:templateId

• Updates existing email builder templates.

• Maintains all existing update behaviour.

• Now supports updates to: subject, fromName, fromEmail, and 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

    , now with

    isPlainText

    automatically derived.

  • Full control of template content and email settings via API.
  • Faster campaign updates without prior limitations.
  • Simpler, cleaner integration experience.
  • Fully backward compatible.
  • All template settings fields are optional.
  • fromEmail

    is validated for proper email format.