Transactional

Get a translation of a transactional by ID

Changed on

Returns an individual translation variant of a transactional message, including the message content. To look up a translation by its language instead of its id, see Get a translation of a transactional message.

get/v1/transactional/{transactional_id}/contents/{content_id}

Request

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

Response

Returns the specified translation of the transactional message.

Example response

{
  "content": {
    "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