- Conversation Part
A Conversation Part represents a message in the conversation.
The type of conversation part. A part type this version does not recognise is returned as unknown; versions before 2.18 return comment for those parts. Every value other than unknown is also accepted by the include_part_types and exclude_part_types query parameters when retrieving a conversation.
The message body, which may contain HTML. For Twitter, this will show a generic message regarding why the body is obscured. In webhook payloads for API version 2.15+, this field returns plain text.
The time the user was notified with the conversation part.
The IP address of the end user who authored this conversation part, when available. Null otherwise, including for parts not authored by an end user.
The assignee this conversation_part assigned the conversation to, as a reference whose type is admin, team or bot. When the part unassigned the conversation, 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 id of the teammate that this conversation_part assigned the conversation to, or 0 if the part removed the teammate. Null or absent when the part did not change the teammate, including an unassignment that did not name which assignee it cleared. A bot is reported here, because assignment treats anything that is not a team as a teammate.
The id of the team that this conversation_part assigned the conversation to, or 0 if the part removed the team. Null or absent when the part did not change the team, including an unassignment that did not name which assignee it cleared. A part can assign a team and a teammate at the same time, for example when the team uses Round Robin distribution and the teammate is resolved inline. In that case assigned_to reports only the teammate, and these two fields report each assignee separately.
What happened to this part for each recipient it was sent to. Null when delivery receipts have not been recorded for this part.
Contains metadata if the message was sent as an email
Metadata for a conversation part
Indicates the current state of conversation when the conversation part was created.
Contains details about the workflow that was triggered and any Custom Data Attributes (CDAs) that were modified during the workflow execution for conversation part type conversation_attribute_updated_by_workflow.
The app package code if this part was created via API. null if the part was not created via API.
A map of the reply text keyed by locale code. Backs the conversation.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.
{ "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" }
- Part type - conversation_attribute_updated_by_workflow
- Part type - conversation_attribute_updated_by_admin
- Part type - conversation_attribute_updated_by_user
- Part type - custom_action_started
- Part type - custom_action_finished
- Part type - operator_workflow_event
- Part type - call_summary
- Part type - ai_agent_event (otp_email_verification_failed)
- Part type - standalone_platform_handoff
{ "type": "conversation_part", "id": "3", "part_type": "comment", "body": "<p>Okay!</p>", "created_at": 1663597223, "updated_at": 1663597260, "notified_at": 1663597260, "user_ip": "203.0.113.42", "assigned_to": { "type": "contact", "id": "1a2b3c" }, "admin_assignee_id": 991267715, "team_assignee_id": 5017691, "author": { "type": "admin", "id": "274", "name": "Operator", "email": "operator+abcd1234@intercom.io", "from_ai_agent": true, "is_ai_answer": false }, "attachments": [ { … } ], "external_id": "abcd1234", "redacted": false, "receipts": { "overall_state": "sent", "recipients": [ … ] }, "email_message_metadata": { "subject": "Question about my order", "email_address_headers": [ … ], "message_id": "<CADKw7xrXzqSn8v3mP8K8Q8yZ6K8Q8yZ6@mail.gmail.com>" }, "metadata": { "quick_reply_options": [ … ], "quick_reply_option_uuid": "123e4567-e89b-12d3-a456-426614174000" }, "state": "open", "tags": [ { … } ], "event_details": { "workflow": { … }, "attribute": { … }, "value": { … } }, "app_package_code": "test-integration", "translations": { "original": "en", "en": "<p>Hello</p>", "fr": "<p>Bonjour</p>" } }