A Ticket Part represents a message in the ticket.
The previous state of the ticket.
Enum:"submitted""in_progress""waiting_on_customer""resolved"
Example:"submitted"
The state of the ticket.
Enum:"submitted""in_progress""waiting_on_customer""resolved"
Example:"submitted"
assigned_toobject or null(Reference)
The assignee this ticket_part assigned the ticket to, as a reference whose type is admin, team or bot. When the part unassigned the ticket, type is nobody_admin and id is null. Null when the part did not change the assignment, or when the assignee has since been deleted.
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.
Example:"text-integration"
A map of the reply text keyed by locale code. Backs the ticket.admin.replied.translated webhook topic. original holds the locale code the reply was written in, when it is known; every other key holds the reply translated into that locale.
Example:
{ "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" }
{ "type": "ticket_part", "id": "3", "part_type": "comment", "body": "<p>Okay!</p>", "previous_ticket_state": "submitted", "ticket_state": "submitted", "created_at": 1663597223, "updated_at": 1663597260, "assigned_to": { "type": "contact", "id": "1a2b3c" }, "author": { "type": "admin", "id": "274", "name": "Operator", "email": "operator+abcd1234@intercom.io" }, "attachments": [ { … } ], "external_id": "abcd1234", "redacted": false, "app_package_code": "text-integration", "translations": { "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" }, "updated_attribute_data": { "attribute": { … }, "value": { … } } }