List templates
/templatesThe account's transactional templates (designed in the app under Templates → Transactional; marketing templates are not listed), newest first, each with the variable names its subject and body use. Send one with POST /api/v1/emails: template_id plus variables.
Permission: templates:read · on the API key screen: Templates → Read access · All permissions
Query parameters
limitnumberPage size, 1 to 50 (default 20).
From 1 to 50.
cursorstringnext_cursor of the previous page.
At most 400 characters.
Response
objectstringOne of:
listAt most 2,000 characters.
dataobject[]At most 50 items.
Show propertiesHide properties
objectstringOne of:
templateAt most 2,000 characters.
idstringAt most 2,000 characters.
namestringAt most 255 characters.
subjectstringThe template's subject (it may contain tags, filled in with variables). Used when a send gives no subject.
At most 500 characters.
variablesstring[]The names the template's subject and body read ({{ name }}, {% for item in items %} …), sorted. A name you leave out of variables is filled in as empty.
At most 100 items.
created_atstringAt most 2,000 characters.
has_morebooleannext_cursorstring | nullAt most 400 characters.