Skip to main content
Email templates are channel-specific reusable assets that you can use in broadcasts and automations.

What a template stores

  • Name and description
  • Draft and published versions
  • Subject template and preview text
  • Structured editor JSON and rendered HTML/text caches

Dashboard workflow

  1. Open Templates > Emails.
  2. Create a draft template.
  3. Edit the content and metadata.
  4. Publish when the template is ready for broadcasts or automations.
  5. Restore older versions into a new draft if you want to roll forward from history.

API example

curl https://api.sendrealm.com/templates \
  -X POST \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Welcome Series Email",
    "channel": "email",
    "subject_template": "Welcome to {{company_name}}",
    "preview_text": "Start with your first delivery in minutes.",
    "editor_json": {
      "type": "doc",
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": "Hi {{first_name}}, thanks for joining Sendrealm."
            }
          ]
        }
      ]
    },
    "rendered_html": "<p>Hi {{first_name}}, thanks for joining Sendrealm.</p>",
    "rendered_text": "Hi {{first_name}}, thanks for joining Sendrealm."
  }'