Skip to main content
GET
Show the message one person gets at one email or LinkedIn step, with their fields and personalized lines filled in: subject, body, sender, recipient, merge fields still missing, warnings, and why the step would be skipped. Nothing is sent, prepared or charged

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

sequenceId
string
required

Query Parameters

enrollmentId
string
required

The person to preview, from dench campaign people.

stepId
string
required

An email or LinkedIn step, its _id from campaigns.get steps[]. A wait step sends nothing.

Response

Successful response

channel
enum<string>
required
Available options:
email,
linkedin
toName
string
required
missingFields
string[]
required

{{merge fields}} this person has no value for; fill them with campaigns.people.setField.

warnings
string[]
required
subject
string

Email steps.

textBody
string

Email steps: plain text.

htmlBody
string

Email steps: HTML.

messageBody
string

LinkedIn steps: the note or message, or a line saying no note or message is sent.

fromName
string

The sending account.

fromEmail
string
toEmail
string
skippedReason
string

Set when the person would skip this step, e.g. no email address.

highlights
string[]
personalized
object[]
{key}
any