Skip to main content
PUT
Set Template Localization
Create or replace one localized variant with your own translated content. The locale must be enabled in the company’s localization settings and cannot be the primary locale. By default, the stored translation behaves as before: when automatic translation on save is on, the next change to the original template replaces it with a fresh AI translation. Pass keepEdits: true to protect it like an edit made in the dashboard. It is then marked as edited (editedAt), automatic translation on save keeps it, and its status becomes stale when the original changes so you can review it. An explicit sync still retranslates it unless you pass skipEdited: true.

Request

string
required
Template ID, transactional email ID, or transactional slug.
string
required
Enabled non-primary locale code, such as es, fr, or pt-BR.
string
required
Localized email subject line.
string
Optional localized inbox preview text.
string
Localized raw HTML. Provide exactly one of html or blocks.
array
Localized Sequenzy email blocks. Provide exactly one of blocks or html.
boolean
default:"false"
Protect this translation from automatic translation on save. Without it, any earlier edit flag on this locale is cleared.

Response fields

string | null
When this translation was last edited in the dashboard or stored with keepEdits: true. null means automatic translation on save may replace it.

Responses