Guides
Send in another language
Choose a published translation for each recipient.
Publish the language
Add and publish the translation in your template. Sending a non-default language requires template translations on your plan.
Select the language
Pass a locale such as ja, fr, or en-gb. Tags are case-insensitive and may contain hyphen-separated subtags, up to 63 characters. Omit locale to use the template’s default language. Send the JSON below to POST /api/v1/emails.
JSON
{
"to": "[email protected]",
"template": "welcome",
"locale": "ja",
"data": {
"name": "春香",
"action_url": "https://example.com/start"
}
}Missing translations
Sendery requires an exact published language match. For example, fr-ca does not fall back to fr. A missing publication returns 422 validation_error; unavailable template translations return 403 access_denied.