HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference
These docs are for v1-2. Click to read the latest docs for v2026-04-15.

Render and Send Template

Renders the specified template with the provided data and send the contents in an email via the service specified. This API is intended to test templates only, and is rate limited to the following thresholds: 100/hour, 1,000/day.

🚧

Deprecation Notice

This endpoint is being deprecated and we are no longer verifying accounts for this functionality. To achieve similar functionality, create a metric-triggered flow, then send one or more Track API calls.

Path Params
string
required
Defaults to TEMPLATE_ID
Form Data
string
required
Defaults to [email protected]
string
required
Defaults to George Washington
string
required
Defaults to Happy Fourth!
blob
required
Defaults to [{"name":"Abraham Lincoln","email":"[email protected]"}]

Mixed. string, or JSON encoded array of objects with "email" and "name" keys.
[email protected]
OR
[{"name":"Abraham Lincoln","email":"[email protected]"}]

blob
Defaults to { "name" : "George Washington", "state" : "VA" }

Optional, JSON object.
This is the context your email template will be rendered with. Email templates are rendered with contexts in a similar manner to how Django templates are rendered. This means that nested template variables can be referenced via dot notation and template variables without corresponding context values are treated as falsy and output nothing.
ex: { "name" : "George Washington", "state" : "VA" }

Response

Language
Credentials
Query
LoadingLoading…
Response
Choose an example:
application/json