Preview a rendered template
Renders the template’s subject and body with merge fields filled, without sending or changing anything. Name a contact on your team to render against that person. Without one, a built-in sample contact is used: Jordan Rivera, VP of Operations at Northwind Logistics, with no custom fields.
missing_fields lists merge fields that rendered empty because the contact has no value for them, the gaps a real send would have. A misspelled field is not listed: it stays in the output exactly as written, so read the rendered text too. Any team member may preview any template. A POST because the contact travels in the body; safe to retry. Counts toward the Sequencer writes rate limit, because it is a POST.
POST only because the contact travels in the body, so a retry is
safe and it takes no Idempotency-Key.
Example
Things to know
- Without
contact, the template is rendered against a sample contact: Jordan Rivera, VP of Operations at Northwind Logistics, with no custom fields. Every{{custom.<label>}}field therefore comes back inmissing_fields. missing_fieldslists the merge fields that rendered empty because the contact has no value for them: the gaps a real send to that person would have.- Misspelled fields are not listed. A field the renderer does not know, such as
{{frist_name}}, stays in the output exactly as written. Read the renderedsubjectandbody_htmlas well. - Any team member can preview any template. It counts toward the Sequencer writes rate limit, because it
is a
POST.
Authorizations
Team-scoped API key generated in the Salesfinity dashboard under Settings → Connections → API & Webhooks. A missing or invalid key returns HTTP 403.
Path Parameters
24-character template id.
Body
The team member this call acts as. Must be an active member of the team the API key belongs to. A 24-character hexadecimal ID.
"507f1f77bcf86cd799439011"
A contact on your team to render against (404 if not found). Without it, a sample contact is used: Jordan Rivera, VP of Operations at Northwind Logistics, with no custom fields. A 24-character hexadecimal ID.