Preview email template
Preview how an email template will look with specific data.
**Features:**
- Real-time template rendering with provided data
- Support for HTML, text, or both formats
- Variable substitution preview
- Subject line rendering
**Parameters:**
- **data**: Object containing variable values for substitution
- **format**: Output format - "html", "text", or "both" (default: "both")
**Use Cases:**
- Template testing during development
- Content review before sending
- Variable validation
- Design verification
**Example Data:**
```json
{
"data": {
"name": "John Doe",
"email": "john@example.com",
"date": "2024-01-15"
}
}
```
Authentication
AuthorizationBearer
JWT token for authentication. Use ‘test-jwt-token’ for development.
Path parameters
id
Request
This endpoint expects an object.
data
format
Response
This endpoint returns an object.
success
data
error
