What are localization and i18n?
At the root of the send body (or on Send by template), use:
localization— how to translate (mode, optionalsourceLocale)i18n— map locale → text (plain string or object with field keys)
language / preferences). If there is no match, the API falls back to the source text or the first available locale.
Modes (localization.mode)
Optional
localization.sourceLocale marks the language of the text in payload when using manual or ai.
i18n format
Plain text (SMS, Telegram, etc.):
speakText + DTMF prompt):
message, caption, subject, html, text, title, body, speakText, gatherPrompt. See the channel OpenAPI reference for the exact list.
202 response
Whenlocalization.mode is manual or ai, the response may include data.localization metadata (appliedAiLocales, fallbackLocales, etc.). On SMS, skipped recipients due to length policy may appear in data.smsSkippedRecipients.
Where to use in API v1
Variables and placeholders
Rootvariables (or payload.variables on templates) replace {{name}} after locale selection. Guide: Available variables.
Common errors
Full catalog: Error responses.
Example (SMS, manual)
Next steps
- SMS — Introduction:
speedandsmsSkippedRecipients - Send by template: multichannel
localization - Template variables and CRUD:
localeTranslationsin the dashboard/API

