Additional Configuration API examples

Use CSV values to add translations to a flow

API reference: /flows/{flow}/translations

Uses a comma-separated set of values to add translations to the translation key b29cdf6b705b9d459b9cba8076250a2b. Translations are provided for US English (en-US), Italian (it-IT), and French (fr-FR). Note that the Content-Type header needs to be set to text/csv.

curl -X PATCH \ \
  -H 'Authorization: Basic c2dueXZ1czZwYzRqbTdraHIybmVxNWdzODlnYnIyZXE6d3Q0YzN1bjl3a2tjZnZ5a25xeDQ0eW5jNDc2YWZzNjg' \
  -H 'Content-Type: text/csv' \
  -d 'key,en-US,it-IT,fr-FR,b29cdf6b705b9d459b9cba8076250a2b,This cannot be undone.,Questo non può essere annullato.,Ça ne peut pas être annulé.'

In case you're wondering, the CSV values look like this when viewed in tabular format:

b29cdf6b705b9d459b9cba8076250a2bThis cannot be undone.Questo non può essere annullato.Ça ne peut pas être annulé.