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. The domain must be either a custom domain authenticated in SalesAutopilot or the default track.t.emesz.com
  • 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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the letter to update

Body Params
string
length ≥ 1

The new name for the letter (if provided, cannot be empty)

string
length ≥ 1

The updated HTML content (if provided, cannot be empty)

string

The updated plain text content

integer

Move the letter to a different folder

boolean

Enable or disable link tracking

string

Update the link tracking domain

boolean

Enable or disable open tracking

boolean

Enable or disable Google Analytics tracking

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json