Templates

Update a template

Content changes (subject, body, from) bump the version and snapshot the new content for rollback.

patch/v1/templates/{id}

Request

  • Base URL: https://api.volanea.com
  • URL: https://api.volanea.com/v1/templates/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Template id.

Request body

namestring
type'transactional' | 'marketing'

Marketing templates get the unsubscribe footer and respect the subscribed flag.

subjectstring
bodystring

HTML with {{variable}} placeholders.

fromNamestring
fromEmailstring email

Response

The updated template.

templateIdstring required
projectIdstring
namestring required
type'transactional' | 'marketing' required
subjectstring required
bodystring required
fromNamestring nullable
fromEmailstring email required
versioninteger required

Bumped on every content change; old versions are kept for rollback.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.