Skip to content
Splashify Pro
Email docsEmail

Get template

GET

/api/v1/partner/email/templates/:id

Fetch full template content by template_id.

Response

json
{
  "success": true,
  "template": {
    "template_id": "tpl_550e8400-...",
    "template_name": "welcome",
    "subject": "Welcome",
    "html": "<h1>Hi {{first_name}}</h1>",
    "text": "Hi {{first_name}}",
    "react_email_json": "...",
    "declared_vars": ["first_name"],
    "created_at": "...",
    "updated_at": "..."
  }
}

cURL

bash
curl https://api.splashifypro.com/api/v1/partner/email/templates/tpl_550e8400-... \
  -H "Authorization: Bearer $SPLASHIFY_API_KEY"