Email_templates

ReplaceEmailTemplateHtmlSection

Replace marked email template HTML section

post/channel/{id}/email-template/{templateId}/html-section

Path parameters

idstring required

The channel id

templateIdstring required

The email template id

Request body

htmlstring
<p>Backward-compatible single HTML block to inject between the markers.</p>
startMarkerstring
<p>DAILY_BLOCK_START --&gt;] Backward-compatible single start marker.</p>
endMarkerstring
<p>DAILY_BLOCK_END --&gt;] Backward-compatible single end marker.</p>
replaceAllboolean
<p>Replace every matching marked section instead of only the first one.</p>
processAsyncboolean
<p>Queue the update as a worker job. Set to false for immediate local testing.</p>

Response

Success-Response:

successboolean required
<p>True if the template was updated successfully.</p>
jobIdstring
replacedSectionsnumber required
<p>Number of marked sections replaced.</p>

Changes

No recorded changes to this endpoint across all 1 revision of this API.