Skip to main content
POST
Translate Push Copy
Translates a push title and message with AI into the languages in Settings > Localization and returns the versions. Nothing is saved. Use the result as a sequence push step’s localizations (send the whole list in nodeUpdates[].changes.localizations on Update Sequence, or on a push step in Create Sequence) or a push campaign’s. Pass the versions you already have in localizations: by default only languages with no version, and AI versions written from older copy, are translated, and versions a person wrote are kept unless overwrite is true. The response lists every version, old and new. Merge tags are kept exactly and their fallback text is translated. Requires the templates:write scope, like the other content generation endpoints.

Request

string
Main-language title, up to 120 characters. A title or a body is required.
string
Main-language message, up to 500 characters.
object[]
Versions you already have, in the push localizations shape.
string[]
Languages to translate into. Omit for every language except the main one.
boolean
default:"false"
Retranslate versions a person wrote too.

Response fields

object[]
Every version: the ones you passed plus the new translations.
string[]
Languages translated by this request.
object[]
Languages left as they were: { locale, reason } with reason up_to_date or edited.
object[]
Languages that could not be translated: { locale, error }.
string
A one-line summary.

Responses