- A Ticket Part representing a note, comment, or quick_reply on a ticket
A Ticket Part representing a note, comment, or quick_reply on a ticket
A map of the reply text keyed by locale code, with values in the same HTML format as body. Only present on the Preview API version and backs the ticket.admin.replied.translated webhook topic. The special original key holds the source locale code of the reply; every other key is a locale code whose value is the reply text translated into that locale. The translations field does not modify body; body carries the reply as authored. Available in the Preview API version only (set Intercom-Version: Preview). This webhook topic is not sent for every translated reply: it is suppressed when the reply's body contains any text outside an HTML block element, which includes plain-text replies created through the REST API. Wrap the body in <p> or another supported block element to avoid this; <div> is removed when the reply is saved, which leaves its text bare and still suppresses the topic.
{ "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" }
{ "type": "ticket_part", "id": "3", "part_type": "note", "body": "<p>Okay!</p>", "created_at": 1663597223, "updated_at": 1663597260, "author": { "type": "admin", "id": "274", "name": "Operator", "email": "operator+abcd1234@intercom.io" }, "attachments": [ { … } ], "redacted": false, "translations": { "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" } }