Preview template
Render a react_email_json payload to HTML + plaintext without
saving a template. Useful for live preview UIs in your panel
before you persist via POST /templates.
POST
/api/v1/partner/email/templates/preview
Request body
json
{
"react_email_json": "{...}",
"variables": {
"first_name": "Alex",
"company_name": "Acme"
}
}Response
json
{
"success": true,
"html": "<!DOCTYPE html><html>...</html>",
"text": "..."
}cURL
bash
curl https://api.splashifypro.com/api/v1/partner/email/templates/preview \
-H "Authorization: Bearer $SPLASHIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"react_email_json": "...",
"variables": {"first_name": "Alex"}
}'