A conversation is a unique thread of messages and comments.
Properties
Property | Type | Description |
|---|---|---|
| String | ID of the conversation. |
| String | Type of the messages in the conversation. |
| String | Status of the conversation for the current teammate. |
| String (optional) | Subject of the conversation. |
| String (optional) | Blurb of the latest message in the conversation. |
| Teammate (optional) | Teammate assigned to the conversation, if any. |
| Recipient (optional) | Main recipient of the conversation. |
| Array of Inbox | Inboxes the conversation is listed in. |
| Array of Tag | Tags attached to the conversations. |
| Array of Topic. | [Deprecated] Please use links instead Topics attached to the conversation. |
| String (optional) | ID of the draft message on this conversation, if any. |
| Array of Links | Links attached to the conversation. |
| String | The ID of the ticket status that applies to the conversation. Only present if ticketing is enabled for the company. |
| String | The category of the ticket status: |
| Array of strings | The IDs of the tickets associated with the conversation. |
| Array of CustomField | The custom fields belonging to the conversation. |
Conversation status
Front supports per teammate conversation status, allowing each teammate to go through their inbox individually. The status exposed to the plugin SDK is the status as seen by the current teammate which may or may not match the status of another teammate.
A conversation's status can be one of:
archivedopentrashedfor conversations that have been moved to trash.spamfor conversation marked as spam.
Ticket status
If ticketing is enabled for a company, conversations can be associated with unique ticketIds.
The statusId returns the ID of the ticket status that the conversation is currently in, and the statusCategory returns whether the ticket status is considered open, waiting, or resolved.
For example, you might configure a custom ticket status called "Priority" with a status ID of sts_5z. This status might belong to the open category. In this example, a conversation might return an array of ticketIDs set to ["TICKET-1"] with a statusId of sts_5z and statusCategory of open.
Conversation type
Front is able to manage multiple types of channels. The type of channel used will define the type of conversation.
A conversation's type can be one of:
emailfor emailstweetfor public Tweetstwitter_dmfor private Direct Message on Twitterphone_callfor a phone call.smsfor text messages.google_playfor Google Play reviewsfacebookfor Facebook Messengerintercomfor Intercom messagessmoochfor Smooch messages.customfor Custom channels on Front.whatsappfor Whatsapp messages.front_chatfor Front Chat
