Update an existing letter

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 name is provided, it cannot be empty
  • If htmlContent is provided, it cannot be empty
  • If linkTrackingEnabled is set to true, linkTrackingDomain must be provided
  • If folderId is provided, it must exist and belong to your account
  • If linkTrackingDomain is 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.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!