Transactional
Get a translation of a transactional by ID
Changed onReturns 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 URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/transactional/{transactional_id}/contents/{content_id}
- AuthHTTP 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
- info
added the media type
application/jsonfor the response with the status
- info