Interfaces
BaseInterface#
No description
Channel#
A 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:
Fields#
| Name | 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. |
CompaniesField#
A list of companies filtered by input.
Fields#
| Name | Description | |||||||
|---|---|---|---|---|---|---|---|---|
companies (CompanyConnection) | Lists all companies. | |||||||
|
ContactsField#
A list of contacts filtered by input.
Fields#
| Name | Description | |||||||
|---|---|---|---|---|---|---|---|---|
contacts (ContactConnection) | Lists all contacts. | |||||||
|
Conversation#
A 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:
Fields#
| Name | 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. | |||||||
mentions ([Mention!]!) | The mentions for the conversation. | |||||||
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. |
CustomFieldValuesField#
A list of custom fields filtered by input.
Fields#
| Name | Description | ||||||
|---|---|---|---|---|---|---|---|
customFieldValues (CustomFieldValueConnection) | Lists all custom fields. | ||||||
|
Delayable#
A message with delayed deliveries.
Fields#
| Name | Description |
|---|---|
deliverBy (DateTime) | The date and time that the message was sent. Used to allow for undoing send. |
Draft#
An object with timestamp fields for when it was created and last updated.
Fields#
| Name | 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. |
EmailInterface#
No description
Fields#
| Name | 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. |
Emailable#
A message that is sent via email.
Fields#
| Name | 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. |
ErrorType#
Represents errors that occurred during channel integration operations.
Fields#
| Name | 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. |
Integration#
An object with timestamp fields for when it was created and last updated.
Fields#
| Name | 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. |
Message#
An individual message, for example an incoming email, an email reply, or a note.
Fields#
| Name | 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. |
rule (Rule) | The rule that caused this message to be created. |
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. |
Node#
An object with an ID.
Fields#
| Name | Description |
|---|---|
id (ID!) | ID of the object. |
Previewable#
A 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.
Fields#
| Name | Description |
|---|---|
preview ([Int!]) | The preview lines and their respective lengths. |
Publishable#
An object that can be published, for example Knowledge Base categories or articles.
For example:
Fields#
| Name | 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. |
Server#
The interface for different server types.
Fields#
| Name | 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. |
Timestamped#
An object with timestamp fields for when it was created and last updated.
Fields#
| Name | Description |
|---|---|
createdAt (DateTime!) | The date and time that the object was created. |
updatedAt (DateTime!) | The date and time that the object was last updated. |
Utilizationabled#
An object with utilization fields for when it was last used and how many times it has been used.