- Modify template name and content
- Change HTML code and template structure
- Update editor type (with validation)
- Editor type changes may affect template compatibility
- Active campaigns using this template will use cached version
- Thumbnails are regenerated automatically
- Fix template bugs or styling issues
- Update branding or design elements
- Add new template variables or sections
- Optimize template for mobile devices
Authorizations
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
Path Parameters
The unique template identifier to update.
template_f3lJvTEhSjKGVb5Lwc5SWS
"template_f3lJvTEhSjKGVb5Lwc5SWS"
Body
Response
✅ Template updated successfully
Unique template identifier with template_ prefix
"template_abc123def456ghi789"
Name of the template
"Welcome Email Template"
Email subject line (if applicable)
"Welcome to our platform!"
HTML content of the template
"<html><body><h1>Welcome!</h1></body></html>"
Template code for visual editors (JSON structure)
"{\"blocks\":[{\"type\":\"text\",\"content\":\"Welcome!\"}]}"
Template type.
Values:
0
- Email template1
- Other types
0
URL to template thumbnail image
"https://cdn.sendx.io/templates/thumb_abc123.png"
Editor type used to create the template.
Values:
0
- PlainText1
- DragDrop2
- SendxEditor
1
Template creation timestamp
"2024-01-10T14:20:00Z"
Template last update timestamp
"2024-01-15T09:15:00Z"