Skip to main content
GET
Get an email template
Returns one template with its subject, body and engagement counters.

Example

Comparing A/B variants

Counters are kept per template, so when a step picks between several weighted templates, each template’s send_count, open_count, click_count, reply_count, bounce_count and opt_out_count show how that variant performed. They count events, not people (three opens by one person count as 3), and are rebuilt every 15 minutes.

Authorizations

x-api-key
string
header
required

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

Path Parameters

id
string
required

24-character template id.

Response

The template.

A reusable email: subject and HTML body with merge fields.

_id
string

24-character hexadecimal id.

Example:

"507f1f77bcf86cd799439011"

team
string

The team that owns the template (24-character id).

user
string

Author's team member id. Only the author can change or delete the template.

name
string

Template name.

subject
string

Subject line, with merge fields. Only sent by email steps that start a thread. Empty on a template written for steps that reply in a thread.

body_html
string

HTML body, with merge fields.

tags
string[]
archived
boolean

Whether the template is archived. Archiving only affects the archived filter on the list: steps that use it keep sending it, and it can still be attached to steps.

send_count
integer

Emails sent from this template. Rebuilt every 15 minutes.

open_count
integer

Number of opens on emails sent from this template, counted as events. Rebuilt every 15 minutes.

reply_count
integer

Number of replies on emails sent from this template, counted as events. Rebuilt every 15 minutes.

bounce_count
integer

Number of bounces on emails sent from this template, counted as events. Rebuilt every 15 minutes.

click_count
integer

Number of link clicks on emails sent from this template, counted as events. Rebuilt every 15 minutes.

opt_out_count
integer

Number of opt-outs on emails sent from this template. Rebuilt every 15 minutes.

created_at
string<date-time>

When the template was created.

updated_at
string<date-time>

When it last changed.