SideConversations
Returns side conversations on a ticket, including subject, state, participant, and timeline details.
Table-Specific Information
Select
The following queries are processed server-side while other filters are processed client-side within the provider.At least TicketId is required in order to retrieve the side conversations.
SELECT * FROM SideConversations WHERE TicketId = 1
SELECT * FROM SideConversations WHERE TicketId = 1 AND Id = '5d133b65-576c-11ee-bcb2-bdce8f618e59'
Insert
The following columns are required to insert: TicketId, Subject, PreviewText, and Participants. This operation is allowed for logged-in users with the "agent" role.
INSERT INTO SideConversationParticipants#temp (Email,Name) VALUES ('[email protected]', 'someone')
INSERT INTO SideConversations (TicketId, Subject, PreviewText, Participants) VALUES (1, 'Test Subject', 'Test Body', 'SideConversationParticipants#temp')
You can also reply to a side conversation. The following columns are required for reply on a particular side conversation: Id, TicketId, Subject, PreviewText, and Participants. This operation is allowed for logged-in users with the "agent" role.
INSERT INTO SideConversationParticipants#temp (Email,Name) VALUES ('[email protected]', 'someone')
INSERT INTO SideConversations (Id, TicketId, Subject, PreviewText, Participants) VALUES ('5d133b65-576c-11ee-bcb2-bdce8f618e59', 2, 'Test Reply', 'Body for Reply message', 'SideConversationParticipants#temp')
Update
You must specify the TicketId and Id of the side conversation to update it. You can only update the State and Subject columns. All fields that are not readonly are optional. This operation is allowed for logged-in users with the "agent" role.
UPDATE SideConversations SET State = 'open' WHERE Id = '5d133b65-576c-11ee-bcb2-bdce8f618e59' AND TicketId = 1
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | False |
Automatically assigned when the side conversation is created. | |
| TicketId | Integer | False |
Tickets.Id |
The Id of the parent ticket associated with the side conversation. |
| ExternalIds | String | False |
A key-value store of metadata. All values must be strings. | |
| Subject | String | False |
The subject of the side conversation. | |
| CreatedAt | Datetime | True |
The time the side conversation was created. | |
| UpdatedAt | Datetime | True |
The time the side conversation was last updated. | |
| MessageAddedAt | Datetime | True |
The time of the last message on the side conversation. | |
| Participants | String | False |
An array of participants in the side conversation. | |
| PreviewText | String | False |
A plain text description of the side conversation. | |
| State | String | False |
The state of the side conversation. | |
| StateUpdatedAt | Datetime | True |
The time of the update of the state of the side conversation. | |
| Url | String | True |
The API URL of the side conversation. |