Skip to main content
PATCH
Update an email template
Edits apply to every step already pointing at this template, including sequences that are currently running.

Authorizations

x-api-key
string
header
required

Team-scoped API key generated in the Salesfinity dashboard under Settings -> Connections & API. A missing or invalid key returns HTTP 403.

Path Parameters

id
string
required

24-character template id.

Body

application/json
user_id
string
required

The team member making the change.

name
string
subject
string

Supports merge fields, e.g. {{first_name}}.

body_html
string

HTML body. Merge fields resolve against the contact; {{custom.<label>}} resolves a custom field by its label, case-insensitively.

tags
string[]
archived
boolean

Archived templates stay usable by steps already pointing at them.

Response

Success.

A reusable email body.

_id
string

24-character hexadecimal id.

Example:

"507f1f77bcf86cd799439011"

name
string
subject
string
body_html
string
tags
string[]
archived
boolean
send_count
integer
open_count
integer
reply_count
integer
bounce_count
integer