- 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
The app package code if this part was created via API. Note this field won't show if the part was not created via API.
A map of the reply text keyed by locale code, with values in the same format as body (HTML by default). Backs the ticket.admin.replied.translated webhook topic. The special original key holds the source locale code of the reply when it is known; every other key is a locale code whose value is the reply text translated into that locale. The translations field does not modify body. Available from API version 2.16. Can be null or omitted, and always is on parts from a contact. The translations are rendered on every request while body can come from a cached copy, so the two can briefly differ. 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>, <div>, or another supported block element to avoid this.
{ "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, "app_package_code": "text-integration", "translations": { "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" } }