Create a new letter

Creates a new letter in the system with HTML content and optional configuration.

Default Behavior

  • If linkTrackingEnabled is not provided, it defaults to true
  • If linkTrackingEnabled is true and no linkTrackingDomain is provided, validation will fail. The domain must be either a custom domain authenticated in SalesAutopilot or the default track.t.emesz.com
  • If textContent is not provided, it will be automatically generated from the HTML content by stripping tags
  • If folderId is not provided or set to 0, the letter will be created in the default folder
  • If openTrackingEnabled is not provided, it defaults to false
  • If googleAnalyticsEnabled is not provided, it defaults to false

Tracking Configuration

Configure link and open tracking to monitor recipient engagement:

  • Link tracking: Track clicks on links in your email (requires a valid tracking domain)
  • Open tracking: Track when recipients open your email
  • Google Analytics: Append GA tracking parameters to links
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≥ 1

The name/title of the letter (cannot be empty)

string
required
length ≥ 1

The HTML content of the email (cannot be empty)

string

Plain text version of the email (optional, will be auto-generated from HTML if not provided)

integer
Defaults to 0

The ID of the folder to store the letter in (0 or null for default folder)

boolean
Defaults to true

Enable click tracking for links in the email

string

The subdomain to use for link tracking (required if linkTrackingEnabled is true)

boolean
Defaults to false

Enable open tracking to monitor when recipients open the email

boolean
Defaults to false

Enable Google Analytics tracking parameters on links

integer

The ID of the project folder (optional)

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