---
title: "List all variants of a transactional message"
method: GET
path: "/v1/transactional/{transactional_id}/contents"
tags: ["Transactional"]
---

# List all variants of a transactional message

`GET /v1/transactional/{transactional_id}/contents`

## Request

- Base URL: `https://api.customer.io`
- URL: `https://api.customer.io/v1/transactional/{transactional_id}/contents`
- Auth: HTTP bearer

Returns the content variants of a transactional message, where each variant represents a different language.

## Response `200`

Returns each variant of the transactional message.

- object
  - `contents` GetTransactionalActionObject[]: Each object represents one of the variants.
    - `id` integer: The identifier for an action.
    - `name` string: The name of the transactional message.
    - `created` integer: The date time when the referenced ID was created.
    - `updated` integer: The date time when the referenced ID was last updated.
    - `body` string: The body of the transactional message. You cannot modify the body if you created it with our drag-and-drop editor.
    - `language` string: The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.
    - `type` 'email' | 'push': The type of message.
    - `from` string: The address that the message is from, relevant if the action `type` is `email`.
    - `from_id` integer: The identifier of the `from` address, commonly known as the "sender". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.
    - `reply_to` string: The address that receives replies for the message, if applicable.
    - `reply_to_id` integer, nullable: The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.
    - `preprocessor` 'premailer': If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.
    - `recipient` string: The recipient address for an action.
    - `subject` string: The subject line for an `email` action.
    - `cc` string: The carbon-copy address(es) for this action.
    - `bcc` string: The blind-copy address(es) for this action.
    - `fake_bcc` boolean: If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).
    - `preheader_text` string: [Also known as "preview text"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.
    - `body_amp` string: AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first.
    - `headers` string, json: A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.

## Other responses

- `400`: The request was malformed.
- `404`: The `transactional_id` or `content_id` in your request do not exist.

---

[API](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference.md) - [All operations](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/customer/apis/customer-io-journeys-api-reference/revisions/ac0b282053fe?raw)
