Conversation

A conversation is a unique thread of messages and comments.

Properties

PropertyTypeDescription
idStringID of the conversation.
typeStringType of the messages in the conversation.
statusStringStatus of the conversation for the current teammate.
subjectString (optional)Subject of the conversation.
blurbString (optional)Blurb of the latest message in the conversation.
assigneeTeammate (optional)Teammate assigned to the conversation, if any.
recipientRecipient (optional)Main recipient of the conversation.
inboxesArray of InboxInboxes the conversation is listed in.
tagsArray of TagTags attached to the conversations.
topicsArray of Topic.[Deprecated] Please use links instead
Topics attached to the conversation.
draftIdString (optional)ID of the draft message on this conversation, if any.
linksArray of LinksLinks attached to the conversation.
statusIdStringThe ID of the ticket status that applies to the conversation. Only present if ticketing is enabled for the company.
statusCategoryStringThe category of the ticket status: open, waiting, or resolved.
ticketIdsArray of stringsThe IDs of the tickets associated with the conversation.
customFieldAttributesArray of CustomFieldThe 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:

  • archived
  • open
  • trashed for conversations that have been moved to trash.
  • spam for 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:

  • email for emails
  • tweet for public Tweets
  • twitter_dm for private Direct Message on Twitter
  • phone_call for a phone call.
  • sms for text messages.
  • google_play for Google Play reviews
  • facebook for Facebook Messenger
  • intercom for Intercom messages
  • smooch for Smooch messages.
  • custom for Custom channels on Front.
  • whatsapp for Whatsapp messages.
  • front_chat for Front Chat