Interfaces
#
BaseInterfaceNo description
#
ChannelA channel is a source of incoming conversations. It dictates how messages in those conversations are sent and received.
For example, an EmailChannel
is a channel where messages are sent as
email. To fetch all of them:
By default channels are sorted by their user-defined row-order, called their position. To sort by name instead:
To find which agents have permission to view this channel:
Only find channels where the user is granted access to view it:
Find all channels the user is allowed to view. Admin users can always view all channels:
#
FieldsName | Description | |||||||
---|---|---|---|---|---|---|---|---|
color (String! ) | The color of the channel. | |||||||
conversationCount (Int! ) | The count of conversations in the channel. | |||||||
| ||||||||
createdAt (DateTime! ) | The date and time that the object was created. | |||||||
customFields (CustomFieldConnection! ) | The custom fields belonging to the custom field category. | |||||||
errors ([ChannelErrorTypeUnion!]! ) | Represents errors that occurred during channel integration setup. | |||||||
folders (FolderConnection ) | Lists all folders that are accessible to the authenticated agent. Each folder can be associated with one or more mailboxes. | |||||||
| ||||||||
id (ID! ) | The name of the channel. | |||||||
permittedAgents (AgentConnection! ) | The agents permitted to access this channel. | |||||||
| ||||||||
pinnedSearches (PinnedSearchConnection ) | Returns the elements in the list that come after the specified cursor. | |||||||
| ||||||||
restriction (Restriction! ) | The agents or teams that are allowed to access this channel. | |||||||
senderName (String ) | Customers see this name in the From field when they view conversations sent from this channel. | |||||||
state (ChannelState! ) | The state of the channel. | |||||||
tags (TagConnection ) | Lists all tags. | |||||||
| ||||||||
type (ChannelType! ) | The communication type of the channel. | |||||||
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
CompaniesFieldA list of companies filtered by input.
#
FieldsName | Description | |||||||
---|---|---|---|---|---|---|---|---|
companies (CompanyConnection ) | Lists all companies. | |||||||
|
#
ContactsFieldA list of contacts filtered by input.
#
FieldsName | Description | |||||||
---|---|---|---|---|---|---|---|---|
contacts (ContactConnection ) | Lists all contacts. | |||||||
|
#
ConversationA Groove conversation is a thread of messages (for example emails, chats, or notes) and associated actions or events (for example 'opened', 'snoozed', and 'assigned').
To fetch Messages/Ratings/StateChanges/etc. on a conversation, query the
Events
connection (on the QueryRoot) with the conversation ID.
To fetch all possible fields:
To search conversations matching a specific keyword:
#
FieldsName | Description | |||||||
---|---|---|---|---|---|---|---|---|
assigned (Assignment ) | The agents and/or teams that are assigned to the conversation. | |||||||
channel (Channel! ) | The channel in which the conversation is happening. | |||||||
contact (Contact ) | The primary contact associated with the conversation. | |||||||
counts (ConversationCounts! ) | The statistics about the messages and interactions in the conversation. | |||||||
createdAt (DateTime! ) | The date and time that the object was created. | |||||||
customFieldValues (CustomFieldValueConnection ) | Lists all custom fields. | |||||||
| ||||||||
deletedAt (DateTime ) | The date and time that the conversation was trashed. | |||||||
drafts (DraftConnection ) | The current user's draft messages on the conversation. | |||||||
followers (AgentConnection ) | Lists all agents that are following the conversation. | |||||||
| ||||||||
id (ID! ) | The date and time of the last unanswered user message. | |||||||
number (Int! ) | The ID of the conversation within the account. | |||||||
searchSummary (SearchSummary ) | The comment that matched the given search keywords. | |||||||
snoozed (Snooze ) | The agent that snoozed the conversation and when it is snoozed until. | |||||||
starred (Boolean! ) | True if the conversation is starred; false otherwise. | |||||||
state (ConversationState! ) | The state of the conversation. | |||||||
stateUpdatedAt (DateTime ) | The date and time that the conversation state was last updated. | |||||||
subject (String ) | The subject of the conversation. | |||||||
summaryMessage (SummaryMessage ) | The conversation summary, which is usually the first MessageChange in the conversation. | |||||||
systemUpdatedAt (DateTime! ) | The date and time that the conversation was last updated. | |||||||
tags (TagConnection ) | Lists all tags. | |||||||
| ||||||||
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
CustomFieldValuesFieldA list of custom fields filtered by input.
#
FieldsName | Description | ||||||
---|---|---|---|---|---|---|---|
customFieldValues (CustomFieldValueConnection ) | Lists all custom fields. | ||||||
|
#
DelayableA message with delayed deliveries.
#
FieldsName | Description |
---|---|
deliverBy (DateTime ) | The date and time that the message was sent. Used to allow for undoing send. |
#
DraftAn object with timestamp fields for when it was created and last updated.
#
FieldsName | Description |
---|---|
agent (Agent! ) | The agent who created the draft. |
assignment (Assignment ) | The agents and/or teams that are assigned to the draft. |
contextId (ID ) | The ID of the context within the conversation. |
conversation (Conversation! ) | The conversation this draft belongs to. |
conversationId (ID! ) | The conversation ID this draft belongs to. |
createdAt (DateTime! ) | The date and time that the object was created. |
draftId (String ) | The UUID used to identify the draft. |
draftType (DraftType ) | The type of the draft. |
id (ID! ) | The datetime when the draft was last synced. |
metadata (JSON! ) | Metadata related to the draft. |
payload (JSON ) | The payload of the draft, which is a schemaless JSON object. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
version (Int! ) | The draft version. |
#
EmailInterfaceNo description
#
FieldsName | Description |
---|---|
aiDraftsChannels ([EmailChannel!] ) | List of mailbox IDs used for generating AI drafts. |
aiDraftsKnowledgeBases ([KnowledgeBase!] ) | List of knowledge base IDs used for generating AI drafts. |
aiQualityRating (String ) | AI quality rating for the mailbox. |
autoBccAddress (String ) | Auto BCC email address. |
color (String! ) | The color of the mailbox. |
email (String ) | The email address associated with the mailbox. |
emailTemplates ([EmailTemplate!]! ) | Email template used for automated or manual email communication. |
forwardEmailAddress (String! ) | The forwarding email address associated with the mailbox. |
fromName (String! ) | The name that replies should be sent from. |
incomingEmailServer (IncomingServerTypeUnion ) | The custom server used to send out emails. |
outgoingEmailServer (OutgoingServerTypeUnion ) | The custom server used to send out emails. |
position (Int! ) | The position that the mailbox should appear at when listed. |
provider (String! ) | The provider. |
signature (String ) | The default signature on outgoing messages from the mailbox. |
threadingType (ThreadingType! ) | Whether to use the agent. |
useAgentName (Boolean ) | Whether to use the agent. |
#
EmailableA message that is sent via email.
#
FieldsName | Description |
---|---|
bcc (RecipientConnection ) | The "Bcc" recipients of the email. |
cc (RecipientConnection ) | The "Cc" recipients of the email. |
to (RecipientConnection! ) | The "To" recipients of the email. |
#
ErrorTypeRepresents errors that occurred during channel integration operations.
#
FieldsName | Description |
---|---|
createdAt (DateTime! ) | The date and time that the object was created. |
message (String! ) | A detailed message describing the error encountered during the channel operation. |
type (String! ) | The type or category of the error that occurred during the channel operation. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
IntegrationAn object with timestamp fields for when it was created and last updated.
#
FieldsName | Description |
---|---|
createdAt (DateTime! ) | The date and time that the object was created. |
id (ID! ) | The Groove legacy API ID. |
provider (IntegrationProvider! ) | The integration provider. |
settings (IntegrationSettings! ) | The global settings for all integrations of this provider type. |
uid (String ) | The integration UID. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
MessageAn individual message, for example an incoming email, an email reply, or a note.
#
FieldsName | Description |
---|---|
attachments (AttachmentConnection ) | The files attached to the message, if any. |
author (Author ) | The actor that authored the body. |
body (String ) | The body of the message in HTML. |
bodyPlainText (String ) | The body of the message in plain text. |
cannedReply (CannedReply ) | The canned reply used for this message. |
channel (Channel! ) | The channel this message belongs to. |
createdAt (DateTime! ) | The date and time that the object was created. |
editedAt (DateTime ) | The date and time that the object was last updated. |
fromMerge (Boolean ) | True if the message comes from a merged conversation; false otherwise. |
fromMove (Boolean ) | True if the message was moved from another conversation; false otherwise. |
id (ID! ) | True if the message is a note; false otherwise. |
sourceConversation (Conversation ) | The conversation the message was moved from. |
summary (SummaryMessage! ) | The summary of the message. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
NodeAn object with an ID.
#
FieldsName | Description |
---|---|
id (ID! ) | ID of the object. |
#
PreviewableA preview is a list of integers representing the number of lines and the respective lengths of multi-line content, for example messages, merges, and ratings. It can be used to build a visual approximation of the content of the change while the full change is being fetched.
An object implements previewable
if preview lines can be derived from its
content.
#
FieldsName | Description |
---|---|
preview ([Int!] ) | The preview lines and their respective lengths. |
#
PublishableAn object that can be published, for example Knowledge Base categories or articles.
For example:
#
FieldsName | Description |
---|---|
author (Agent ) | The author of the object. |
description (String ) | A description of the object. |
featured (Boolean! ) | True if the object is set to be featured; false otherwise. |
meta (Meta ) | The meta data of the object. |
openGraph (OpenGraph ) | The Open Graph information of the object. |
pageTitle (String ) | The HTML page title of the object. |
position (Int! ) | The position that the article should appear in when listed. |
publishedAt (DateTime ) | The date and time that the object was last published. |
slug (String ) | The URL slug of the object. |
state (PublishState! ) | The state of the object. |
title (String ) | The title of the object. |
updater (Agent ) | The agent that last updated the object. |
#
ServerThe interface for different server types.
#
FieldsName | Description |
---|---|
createdAt (DateTime! ) | The date and time that the object was created. |
encryption (EncryptionType ) | The type of encryption used (e.g., SSL, TLS, None. |
host (String! ) | The server hostname or IP address. |
id (ID! ) | The port number the server listens on. |
protocol (ProtocolType! ) | The protocol used by the server (e.g., SMTP, IMAP, POP3. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
username (String! ) | The username for authenticating with the SMTP server. |
verified (Boolean! ) | Has the connection been verified. |
#
TimestampedAn object with timestamp fields for when it was created and last updated.
#
FieldsName | Description |
---|---|
createdAt (DateTime! ) | The date and time that the object was created. |
updatedAt (DateTime! ) | The date and time that the object was last updated. |
#
UtilizationabledAn object with utilization fields for when it was last used and how many times it has been used.