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
  • 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
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!