<commit_before>---
layout: page
weight: 0
title: Template Engine
navigation:
  show: true
---

{% info %}
This app is our new <a href="{{root_url}}/API_Reference/Template_Engine_API/index.html">Template Engine</a>, that supports multiple templates, versioning and more. Previously, we had a Template App, now called the <a href="{{root_url}}/Apps/email_templates.html">Legacy Template App</a>.
{% endinfo %}

<p>This app seperates email templates and design from sending, allowing templates to be worked on through the SendGrid UI and then populated during mail sending.</p>

<p>This app is differs from our other apps, and may be found in a <a href="https://sendgrid.com/templates">different location</a>.</p>

<p>More documentation may be found with the <a href="{{root_url}}/API_Reference/Template_Engine_API/index.html">Template Engine API Reference</a>.</p>

{% anchor h2 %}
Settings 
{% endanchor %}

  <table class="table table-bordered table-striped">
    <tr>
      <th>Name</th>
      <th>Required</th>
      <th>Description</th>
    </tr>
    <tr>
      <td>template_id</td>
      <td>Yes</td>
      <td>The ID of the template to use when sending a message.</td>
    </tr>
  </table>

<p>Settings may be changed through:</p>
<ul>
  <li><a href="{{root_url}}/API_Reference/SMTP_API/apps.html#templates">SMTP API</a> (on a per message basis)</li>
  <li><a href="{{root_url}}/Template_Engine_API/index.html">Web API</a> (on an account wide basis)</li>
  <li><a href="https://sendgrid.com/templates">Web Interface</a> (on an account wide basis)</li>
</ul><commit_msg>corrected template link<commit_after>---
layout: page
weight: 0
title: Template Engine
navigation:
  show: true
---

{% info %}
This app is our new <a href="{{root_url}}/API_Reference/Template_Engine_API/index.html">Template Engine</a>, that supports multiple templates, versioning and more. Previously, we had a Template App, now called the <a href="{{root_url}}/Apps/email_templates.html">Legacy Template App</a>.
{% endinfo %}

<p>This app seperates email templates and design from sending, allowing templates to be worked on through the SendGrid UI and then populated during mail sending.</p>

<p>This app is differs from our other apps, and may be found in a <a href="https://sendgrid.com/templates">different location</a>.</p>

<p>More documentation may be found with the <a href="{{root_url}}/API_Reference/Template_Engine_API/index.html">Template Engine API Reference</a>.</p>

{% anchor h2 %}
Settings 
{% endanchor %}

  <table class="table table-bordered table-striped">
    <tr>
      <th>Name</th>
      <th>Required</th>
      <th>Description</th>
    </tr>
    <tr>
      <td>template_id</td>
      <td>Yes</td>
      <td>The ID of the template to use when sending a message.</td>
    </tr>
  </table>

<p>Settings may be changed through:</p>
<ul>
  <li><a href="{{root_url}}/API_Reference/SMTP_API/apps.html#templates">SMTP API</a> (on a per message basis)</li>
  <li><a href="{{root_url}}/API_Reference/Template_Engine_API/index.html">Web API</a> (on an account wide basis)</li>
  <li><a href="https://sendgrid.com/templates">Web Interface</a> (on an account wide basis)</li>
</ul>
{'fraction_non_alphanumeric': 0.15416141235813366, 'fraction_numerical': 0.0012610340479192938, 'mean_word_length': 4.270764119601329, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2992831', 'n_tokens_mistral': 1036, 'n_tokens_neox': 993, 'n_words': 311}