Render a template
Templates
Render a template
Render the template’s current published version with the supplied variables, without sending. Returns the rendered output for the template’s channel plus any variable paths that were referenced but not provided.
POST
Render a template
Documentation Index
Fetch the complete documentation index at: https://docs.senderkit.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key with an sk_live_ or sk_test_ prefix.
Path Parameters
Template slug.
Body
application/json
Variable values to interpolate into the template.
Response
Rendered template output.
Available options:
email, sms, push Rendered fields for the channel. Email -> {subject, preheader, html, text}; SMS -> {body}; push -> {title, body, data, badge, sound}.
Variable paths referenced by the template but not supplied.