Templates

Create an email template (draft)

post/templates

Request

  • Base URL: https://api.supersendtx.com
  • URL: https://api.supersendtx.com/templates
  • Auth: HTTP bearer

Request body

namestring required
subjectstring

Optional default subject line. Omit for layout-only templates used with per-send subjects.

format'html' | 'blocks'
preheaderstring
htmlstring
textstring
designobject

Required when format is blocks (defaults to empty document, in the account's Brand colors when those are known). Supports settings.globalCss for author-supplied CSS compiled at render time.

aliasstring
variablesstring[]
unsubscribe_enabledboolean
category'transactional' | 'product' | 'newsletter'

Response

Template created

Changes

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