Update poll translations

Write translations for one language of a poll. Only the given language is touched — other languages are never modified. By default the provided translations are deep-merged into the language's existing layer (send only what changed; set a key to null to delete it). Set replace: true to swap the language's entire layer, or remove: true to delete the language.

The translations object mixes two kinds of keys: slide _id keys mapping to an object translating that slide's content (title, subtitle, copy, disclaimer, leftLabel, rightLabel, placeholder, consentLabel, rewardBanner, rewardCode, customCTA, customRewardBanner as strings; answers, rows, actions, actionUrls as objects keyed by handle — never arrays; formInputs as an array aligned by index with the slide's form inputs), and widget CTA keys (next, submit, ...) mapping to translated strings. Use language default (CTA keys only) to override widget chrome in the survey's own language. Keys and handles are validated against the poll's actual slides.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The ID of the poll to translate.

string
required

ISO 639 language code, optionally region-qualified (e.g. de, pt-BR), or default. Region layers sit on top of their base language at runtime, so put shared translations in the base and only differences in the region layer.

translations
object

Slide-ID keys mapping to slide translation objects, and/or CTA keys mapping to strings. Required unless remove is true.

boolean

Replace this language's entire translation layer instead of merging into it.

boolean

Delete this language from the poll entirely (translations is ignored).

Responses

403

Your role does not permit content writes on this account

404

Poll not found or you do not own the account it belongs to

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json