Example Conversation Part Object
{
"type": "conversation_part",
"id": "4412",
"part_type": "comment",
"body": "<p>Hi Jane, it's all great thanks!</p>",
"created_at": 1400857494,
"updated_at": 1400857494,
"notified_at": 1400857587,
"assigned_to": null,
"author": {
"type": "user",
"id": "536e564f316c83104c000020"
},
"attachments": []
}
A conversation part describes an element of the conversation.
A conversation part has a html encoded body, an author, and may have an attachments list. Conversation parts have created, updated and notified timestamps. Each conversation part also has a part type - these types are described below.
Conversation Part Object
Attribute | Type | Description |
---|---|---|
type | string | The value is 'conversation_part' |
id | string | The id representing the conversation part |
part_type | string | The type of conversation part |
body | string | The html encoded body of the comment |
created_at | timestamp | The time the conversation part was created |
updated_at | timestamp | The last time the conversation part was updated |
notified_at | timestamp | The time the user was notified with the conversation part |
assigned_to | string | The id of the admin that the conversation is assigned to (not null only when part_type: assignment ). |
author | User or Admin | The user or admin that created the part |
attachments | List | A list of attachments for the part |
Conversation Part Types
Type | Description |
---|---|
comment | Standard reply from customer or admin to a conversation |
note | A note created by an Admin on the conversation. A note will only be viewable as an Admin. |
assignment | An assignment of the conversation to an Admin, or Nobody. |
open | Identifies a conversation has been opened |
close | Identifies a conversation has been closed |
away_mode_assignment | Conversation has been assigned due to the admin being in away mode |
participant_added | A participant has been added to a group conversation |
participant_removed | A participant has been removed from a group conversation |
conversation_rating_changed | A conversation rating has been changed, not this can only occur before the rating has been submitted. Once it has been submitted it cannot be changed |
conversation_rating_remark_added | A conversation remark has been added to the converation |
snoozed | A conversation has been snoozed |
unsnoozed | A conversation has been unsnoozed |
timer_unsnooze | Unsnooze a conversation after a set time. |