Emails

Create an email translation

Changed on

Creates a new translation for an email. If content, envelope, and/or transformers are omitted, the values are copied from the default (parent) email.

post/v1/design_studio/emails/{id}/languages

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/design_studio/emails/{id}/languages
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The id of the email. If your email has multiple languages, you must provide the ID of the default language template. This links the workflow to all of the language variants for the template.

Request body

languagestring required

A language code that corresponds to the language of the translation

Example request

{
  "language": "es"
}

Response

Translation created

Example response

{
  "email_translation": {
    "language": "fr",
    "available_languages": [
      "en",
      "es"
    ],
    "created": 1773856017,
    "updated": 1773856017
  }
}

Changes

    • info

      the endpoint scheme security Bearer-Auth was added to the API

    • info

      api tag Emails added

    • info

      api tag Design Studio emails removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status