put
https://api.salesautopilot.com/v2/letters/
Updates an existing email letter. All fields are optional - only the provided fields will be updated.
Partial Updates
This endpoint supports partial updates. You can update one or more fields without affecting the others. Only include the fields you want to change in the request body.
Validation Rules
- If
nameis provided, it cannot be empty - If
htmlContentis provided, it cannot be empty - If
linkTrackingEnabledis set totrue,linkTrackingDomainmust be provided - If
folderIdis provided, it must exist and belong to your account - If
linkTrackingDomainis provided, it must be valid and belong to your account
Content Updates
When updating htmlContent or textContent, both the draft and UTF-8 versions are updated automatically.
