Send template
Send a previously-saved template
with per-recipient {{variables}} substituted in the subject + body.
POST
/api/v1/partner/email/send-template
Request body
json
{
"from": "[email protected]",
"to": ["[email protected]"],
"template_name": "welcome",
"variables": {
"first_name": "Alex",
"company_name": "Acme"
},
"configuration_set_name": "production"
}Response
Same shape as /send.
Variable substitution
{{first_name}} and {{ first_name }} (with spaces) both resolve.
Missing variables stay as-is in the rendered output — they don't
raise errors. To enforce required variables, declare them on the
template via declared_vars.
cURL
bash
curl https://api.splashifypro.com/api/v1/partner/email/send-template \
-H "Authorization: Bearer $SPLASHIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "[email protected]",
"to": ["[email protected]"],
"template_name": "welcome",
"variables": {"first_name": "Alex"}
}'