Transactional

List all variants of a transactional message

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

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

Response

Returns each variant of the transactional message.

Example response

{
  "contents": [
    {
      "id": 96,
      "name": "Receipt",
      "created": 1552341937,
      "updated": 1552341937,
      "language": "fr",
      "from": "sentFrom@example.com",
      "from_id": 1,
      "reply_to": "replyto@example.com",
      "reply_to_id": 38,
      "recipient": "{{customer.email}}",
      "subject": "Did you get that thing I sent you?",
      "headers": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
    }
  ]
}

Changes

No recorded changes to this operation across all 30 revisions of this API.