Templates

Update template

Updates template metadata or content. Transactional email IDs and slugs are also resolved for compatibility.

put/templates/{templateId}

Path parameters

templateIdstring required

Template ID, transactional email ID, or transactional slug.

Request body

namestring
subjectstring
htmlstring

Replacement HTML body. Mutually exclusive with blocks.

blocksobject[]

Replacement Sequenzy email blocks. Mutually exclusive with html.

{"stackTrail":"paths:/templates/{templateId}:put:requestBody:content:application/json:schema:properties:updates","oasType":"schema","type":"unknown","description":"Unsupported nested update object. Requests using it return a validation error."}

Response

Template updated

successboolean
transactionalobject nullable

Example response

{
  "success": true
}

Changes