The transactional templates API lets you programmatically create and manage templates for email you send via SendGrid’s Email API. You may version these templates, then send them through SendGrid’s SMTP API, the Web API v2, or the Web API v3.
Templates are re-usable email layouts, that may be created and interacted with through the API. These are intended to be a specific type of message, such as ‘Weekly Product Update’.
Templates may have multiple versions with different content, these may be changed and activated through the API. These allow split testing, multiple languages of the same template, etc.
Sending Transactional Templates
You can send transactional templates using one of three ways: