Account# No description
Fields# Name Description activatedAt
(DateTime
)
The date and time when the account was activated. expiresAt
(DateTime
)
The date and time when the account expires. id
(ID!
)
The current account state. subdomain
(String!
)
The account subdomain.
AccountIntegration# No description
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.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
AccountPreferences# No description
Fields# Name Description twoFactorAuthenticationGloballyEnforced
(Boolean!
)
True if two-factor authentication is globally enforced; false otherwise.
Address# A full address.
Fields# Name Description city
(String
)
The name of the city, district, village, or town. country
(String
)
The name of the country. postalCode
(String
)
The ZIP Code or postal code. state
(String
)
The region of the address. street
(String
)
The first line of the address. street2
(String
)
The second line of the address.
Agent# An agent is a user on Groove that is part of an organization.
To find all active agents, along with the teams they belong to,
ordered by name:
To query for invited agents:
To reverse order the search:
To fetch agents ordered by the most times you assigned them to a conversation:
To fetch a single agent:
Fields# Name Description account
(Account!
)
The account the agent belongs to. assignmentCount
(Int!
)
The total number of conversations that the agent is assigned to. avatarUrl
(Url!
)
A URL pointing to the agent's avatar. conversationCount
(Int!
)
The number of conversations that the agent is assigned. createdAt
(DateTime!
)
The date and time that the object was created. defaultNotificationPreferences
([AgentNotificationPreference!]!
)
Default agent notification preferences. email
(String!
)
The agent's email address. firstName
(String
)
The agent's first name. id
(ID!
)
The agent's last name. name
(String!
)
The agent's full name. notificationPreferences
(AgentNotificationPreferenceConnection
)
List of agent notification preferences. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
oauthCredentials
(OauthCredentialsConnection
)
Lists all oauth credentials linked to agent. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
preferences
(AgentPreferenceConnection!
)
Lists all agent preferences. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
role
(AgentRole!
)
The role of the agent. state
(AgentState!
)
The state of the agent. status2fa
(AgentTwoFactorAuthStatus!
)
The agent's 2FA status. subdomain
(String!
)
Lists all teams in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TeamFilter
)
The fields by which to filter the results. orderBy
(TeamOrder
)
The field and direction by which to order the results.
twoFactorAuthCode
(TwoFactorAuthCode
)
Two factor auth code data. updatedAt
(DateTime!
)
The date and time that the object was last updated. username
(String
)
The agent's username.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
AgentChanged# A conversation was reassigned to another agent.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(Agent
)
The agent that the conversation was previously assigned to. id
(ID!
)
The agent that the conversation is newly assigned to. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
AgentConnection# The connection type for Agent.
Fields# Name Description edges
([AgentEdge]
)
A list of edges. nodes
([Agent]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
AgentEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Agent
)
The item at the end of the edge.
AgentNotificationPreference# No description
Fields# Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
AgentNotificationPreferenceBulkDeletePayload# Autogenerated return type of AgentNotificationPreferenceBulkDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. ids
([ID!]
)
The IDs of the notification preferences that were deleted.
AgentNotificationPreferenceBulkUpsertPayload# Autogenerated return type of AgentNotificationPreferenceBulkUpsert
Fields# AgentNotificationPreferenceConnection# The connection type for AgentNotificationPreference.
Fields# AgentNotificationPreferenceEdge# An edge in a connection.
Fields# AgentPreference# No description
Fields# Name Description agent
(Agent!
)
The agent associated with the preference value. key
(String!
)
The preference key. namespace
(String
)
The preference namespace. value
(Untyped!
)
The value associated with the preference.
AgentPreferenceConnection# The connection type for AgentPreference.
Fields# AgentPreferenceDeletePayload# Autogenerated return type of AgentPreferenceDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
AgentPreferenceEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(AgentPreference
)
The item at the end of the edge.
AgentPreferenceUpsertPayload# Autogenerated return type of AgentPreferenceUpsert
Fields# Name Description agentPreference
(AgentPreference
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
AgentResetLoginAttemptsPayload# Autogenerated return type of AgentResetLoginAttempts
Fields# Name Description agent
(Agent
)
The agent that has just reset login attempts for. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
AgentResetPasswordPayload# Autogenerated return type of AgentResetPassword
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
AgentSendAdminEmailNotificationPayload# Autogenerated return type of AgentSendAdminEmailNotification
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
AiSuggestion# No description
Fields# Name Description conversationId
(String!
)
The id of a ticket that suggestion belongs to. id
(ID!
)
The type of the suggestion. value
(JSON
)
The value of suggestion.
AiSuggestionConnection# The connection type for AiSuggestion.
Fields# AiSuggestionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(AiSuggestion
)
The item at the end of the edge.
Article# An article from a Knowledge Base. Each article can be assigned to one category.
To fetch multiple Knowledge Bases with related articles:
To fetch only the latest 5 articles:
To search for articles:
Publishable
An object that can be published, for example Knowledge Base categories or
articles.
For example:
Fields# Name Description attachments
(ArticleAttachmentConnection
)
The list of attachments on the article. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
author
(Agent
)
The author of the object. body
(String
)
The body of the article. category
(KbCategory
)
The category that the article is assigned to. createdAt
(DateTime!
)
The date and time that the object was created. deletedAt
(DateTime
)
The date and time that the article was deleted. description
(String
)
The article description. featured
(Boolean!
)
True if the object is set to be featured; false otherwise. id
(ID!
)
The Knowledge Base that the article belongs to to. 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. ratings
(ArticleRatingConnection
)
The article ratings. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
ratingsType
(ArticleRatingTypes
)
The type of the article ratings. relatedArticles
(ArticleConnection
)
The list of articles linked to this one. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
slug
(String
)
The URL slug of the object. state
(PublishState!
)
The state of the object. tags
([String!]
)
The list of tags on associated with the article. title
(String
)
The title of the object. updatedAt
(DateTime!
)
The date and time that the object was last updated. updater
(Agent
)
The agent that last updated the object. url
(String
)
The URL of the article.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated. Publishable
An object that can be published, for example Knowledge Base categories or
articles.
For example.
ArticleAttachment# A file attached to a Knowledge Base article.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. fileName
(String!
)
The name of the attachment. id
(ID!
)
The attachment MIME type. name
(String
)
The visible name of the attachment. size
(Int!
)
The attachment size in bytes. updatedAt
(DateTime!
)
The date and time that the object was last updated. url
(Url
)
The location of the attachment. uuid
(String
)
The universally unique ID.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
ArticleAttachmentConnection# The connection type for ArticleAttachment.
Fields# ArticleAttachmentEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(ArticleAttachment
)
The item at the end of the edge.
ArticleConnection# The connection type for Article.
Fields# Name Description edges
([ArticleEdge]
)
A list of edges. nodes
([Article]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
ArticleEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Article
)
The item at the end of the edge.
ArticleRating# A rating given to an article by a visitor of the Knowledge Base.
Fields# Name Description count
(Int!
)
The total number of ratings for the article. createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated. value
(Int!
)
The overall rating of the article.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
ArticleRatingConnection# The connection type for ArticleRating.
Fields# ArticleRatingEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(ArticleRating
)
The item at the end of the edge.
Assignment# The agents and/or teams that are assigned to the conversation.
Fields# Name Description agent
(Agent
)
The agent that the conversation is assigned to. at
(DateTime
)
The date and time that the conversation was last assigned. team
(Team
)
The team that the conversation is assigned to.
AsyncRpcPayload# Autogenerated return type of AsyncRpc
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. jobId
(ID
)
The ID of the enqueued job. Use this to poll for results.
Attachment# A file attached to a message.
Fields# Name Description contentId
(String
)
The RFC2387 identifier of the attachment, if from an email. createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The user that created the attachment. deliverBy
(DateTime
)
The date and time that the message was sent. Used to allow for undoing send. downloadUrl
(String
)
The public direct download URL of the attachment. fileName
(String
)
The name of the attachment. fileSize
(String
)
The attachment size in bytes. fileType
(String
)
The attachment MIME type. id
(ID!
)
The attachment s3 key. scanReport
(AttachmentScanReport
)
The attachment type. type
(AttachmentType
)
The attachment type. updatedAt
(DateTime!
)
The date and time that the object was last updated. url
(String
)
The public URL of the attachment.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
AttachmentConnection# The connection type for Attachment.
Fields# AttachmentEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Attachment
)
The item at the end of the edge.
AttachmentScanReport# The attachment scan report
BillingFeatureType# The billing feature name value pair
Fields# BillingType# No description
Fetch all available features of the current plan of current account:
Fetch all usage for the current account:
Fields# Name Description availableFeatures
([BillingFeatureType!]!
)
Fetch all available features of the current plan of current account. cardSetupIntents
([CardSetupIntent!]!
)
Fetch all pending setup intents for the current account. creditCards
([CreditCard!]!
)
Fetch all credit cards for the current account. discount
(Discount
)
Fetch current active discount for this account. plans
([Plan!]!
)
Fetch all plans for the current account. Arguments state
([PlanState!]
)
Limit returned plans to particular states.
pricings
([Pricing!]!
)
Lists available pricing. Arguments showAll
(Boolean
)
Show all available pricing instead of just account relevant pricing.
usages
([BillingUsageType!]!
)
Fetch all usage for the current account.
BillingUsageType# The billing usage name value pair
Fields# Browser# The web browser used by the contact.
Fields# Name Description family
(String
)
The name of the browser. version
(String
)
The version of the browser.
CancelDowngradePayload# Autogenerated return type of CancelDowngrade
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
CannedReply# A canned reply is a prewritten answer to commonly asked customer questions.
To fetch all canned replies:
To fetch all canned replies with a given search string:
To fetch all canned replies with a given search string in a particular category:
Fields# Name Description attachments
(AttachmentConnection!
)
All attachments on this canned reply. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
automaticActions
([CannedReplyAutomaticAction!]!
)
All automatic actions set on this canned reply. body
(String
)
The content of the canned reply template. category
(CannedReplyCategory
)
The category of the canned reply. countUsed
(Int!
)
The number of times the object has been utilized. createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The agent that created the canned reply. id
(ID!
)
The content of the canned reply template with all variables interpolated. Arguments contactId
(ID!
)
The ID of the contact to use for interpolation. conversationId
(ID
)
The ID of the conversation to use for interpolation. messageId
(ID
)
The ID of the message to use for interpolation. channelId
(ID
)
The ID of the channel to use for interpolation.
lastUsedAt
(DateTime
)
The date and time that the object was last used. mailboxIds
([String!]
)
Searches for a mailbox that match the id. name
(String
)
The name of the canned reply. snippet
(String
)
A short snippet from the canned reply body. subject
(String
)
The subject line of the canned reply. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated. Utilizationabled
An object with utilization fields for when it was last used and how many times it has been used.
CannedReplyAutomaticAction# No description
Fields# Name Description type
(String
)
The type of the canned reply automatic action. value
(String
)
The value of the canned reply automatic action.
CannedReplyCategory# A canned reply category is a grouping for canned replies.
To fetch all canned reply categories in the account:
To fetch all canned reply categories with a given search string:
Fields# Name Description cannedReplies
(CannedReplyConnection
)
Lists all canned replies. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CannedReplyFilter
)
The fields by which to filter the results. orderBy
(CannedReplyOrder
)
The field and direction by which to order the results.
createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
True if the category is protected; false otherwise. name
(String!
)
The name of the canned reply category. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
CannedReplyCategoryConnection# The connection type for CannedReplyCategory.
Fields# CannedReplyCategoryEdge# An edge in a connection.
Fields# CannedReplyConnection# The connection type for CannedReply.
Fields# Name Description edges
([CannedReplyEdge]
)
A list of edges. nodes
([CannedReply]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
CannedReplyEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(CannedReply
)
The item at the end of the edge.
CardSetupIntent# Represents the intent of a customer to create/replace a payment method on there account
Fetch all setup intents for the current account:
Fields# Name Description clientSecret
(String!
)
The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. createdAt
(DateTime!
)
Time at which the object was created. Measured in seconds since the Unix epoch. id
(ID!
)
The external id for this setup intent. status
(SetupIntentStatus!
)
The duration applied for this coupon. usage
(SetupIntentUsage!
)
The duration applied for this coupon.
CardSetupIntentCreatePayload# Autogenerated return type of CardSetupIntentCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. setupIntent
(CardSetupIntent
)
The created card setup intent.
CardSetupIntentSucceedPayload# Autogenerated return type of CardSetupIntentSucceed
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. setupIntent
(CardSetupIntent
)
The created card setup intent.
ChannelChanged# A conversation was moved to another channel.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(Channel
)
The channel that the conversation was moved from. id
(ID!
)
The channel that the conversation was moved to. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ChannelConnection# The connection type for Channel.
Fields# Name Description edges
([ChannelEdge]
)
A list of edges. nodes
([Channel]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
ChannelDeletePayload# Autogenerated return type of ChannelDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedChannelId
(ID!
)
ID of the deleted channel. errors
([UserError!]!
)
List of errors that occurred during the deletion.
ChannelEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Channel
)
The item at the end of the edge.
ChannelIntegration# No description
Fields# Name Description channel
(Channel!
)
The channel the integration is connected to. 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.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
CheckAccessByMatrixIdsPayload# Autogenerated return type of CheckAccessByMatrixIds
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. rooms
([RoomAccess!]
)
A list of chat rooms with a flag indicating the ability of the current user to access each of them.
ClickCreatePayload# Autogenerated return type of ClickCreate
Fields# Name Description clickId
(String
)
The ID of the created click. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
CommentDeleted# A comment was deleted.
CommentEdited# A comment was edited.
CommentReacted# A reaction was left on a comment.
Fields# Name Description id
(ID!
)
If reaction was added or removed. reaction
(String!
)
The reaction emoji.
Company# A company represents an organization containing one or more contacts.
Fields# Name Description contacts
(ContactConnection
)
The contacts in the company. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
conversationCount
(Int!
)
The total number of conversations that the company is involved in. createdAt
(DateTime!
)
The date and time that the object was created. createdBy
(Agent!
)
The agent that created the company. customFieldValues
(CustomFieldValueConnection
)
Lists all custom fields. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
domain
(String
)
The company's primary domain. id
(ID!
)
The URL of the company's logo. name
(String
)
The company name. updatedAt
(DateTime!
)
The date and time that the object was last updated. updatedBy
(Agent!
)
The agent that last updated the company.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated. CustomFieldValuesField
A list of custom fields filtered by input.
CompanyAddContactsPayload# Autogenerated return type of CompanyAddContacts
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. company
(Company!
)
The updated company. errors
([UserError!]!
)
Errors related to user input.
CompanyConnection# The connection type for Company.
Fields# Name Description edges
([CompanyEdge]
)
A list of edges. nodes
([Company]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
CompanyCreatePayload# Autogenerated return type of CompanyCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. company
(Company
)
The company that was created. errors
([UserError!]!
)
Errors related to user input.
CompanyDeletePayload# Autogenerated return type of CompanyDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedCompanyId
(ID
)
The ID of the deleted company. errors
([UserError!]!
)
Errors related to user input.
CompanyEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Company
)
The item at the end of the edge.
CompanyMergePayload# Autogenerated return type of CompanyMerge
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. target
(Company!
)
The merged company.
CompanyRemoveContactsPayload# Autogenerated return type of CompanyRemoveContacts
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. company
(Company!
)
Errors related to user input.
Condition# A folder condition provides the logic for matching relevant conversations.
For example, to match conversations with the "suggestion" tag:
param
: TAG
operator
: CONTAINS
value
: "suggestion"
To fetch all folders and their conditions:
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The logic operator to use, for example. param
(ConditionParam!
)
The conversation field to use, for example. source
(ConditionSourceUnion
)
The source for the condition. No value indicates the conversation as the source. updatedAt
(DateTime!
)
The date and time that the object was last updated. value
(String
)
The value to match against, for example.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
ConditionConnection# The connection type for Condition.
Fields# ConditionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Condition
)
The item at the end of the edge.
Contact# that role is defined by their participation with a
particular conversation. This means the same contact could be the
customer on one conversation, and a collaborator on another.
Fields# Name Description avatarUrl
(String
)
The URL of the contact's avatar. companies
(CompanyConnection
)
The companies that the contact belongs to. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
contactType
(ContactType!
)
The type of the contact. conversationCount
(Int!
)
The total number of conversations that the contact is involved in. createdAt
(DateTime!
)
The date and time that the object was created. createdBy
(Agent!
)
The agent that created the contact. customFieldValues
(CustomFieldValueConnection
)
Lists all custom fields. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
email
(EmailAddress
)
The contact's primary email address. firstName
(String
)
The contact's first name. id
(ID!
)
The contact's last name. lastSeenAt
(DateTime
)
The date and time that the contact was last seen. name
(String
)
The contact's full name. role
(ContactRole
)
The contact's secondary email addresses. updatedAt
(DateTime!
)
The date and time that the object was last updated. updatedBy
(Agent!
)
The agent that last updated the contact.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated. CustomFieldValuesField
A list of custom fields filtered by input.
ContactChange# A conversation was reassigned to another contact.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(Contact
)
The contact that the conversation was previously assigned to. id
(ID!
)
The contact that the conversation is currently assigned to. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ContactConnection# The connection type for Contact.
Fields# Name Description edges
([ContactEdge]
)
A list of edges. nodes
([Contact]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
ContactCreatePayload# Autogenerated return type of ContactCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. contact
(Contact
)
The contact that was created. errors
([UserError!]!
)
Errors related to user input.
ContactDeletePayload# Autogenerated return type of ContactDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedContactId
(ID
)
The ID of the deleted contact. errors
([UserError!]!
)
Errors related to user input.
ContactEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Contact
)
The item at the end of the edge.
ContactMergePayload# Autogenerated return type of ContactMerge
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. target
(Contact!
)
The merged contact.
ContactOpenedMessage# A contact opened a message.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The message that the contact opened. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ContactResyncPayload# Autogenerated return type of ContactResync
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. contact
(Contact!
)
The updated contact. errors
([UserError!]!
)
Errors related to user input.
ContactUpdatePayload# Autogenerated return type of ContactUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. contact
(Contact!
)
The updated contact. errors
([UserError!]!
)
Errors related to user input.
conversationAddNotePayload# Autogenerated return type of conversationAddNote
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. deletedDraftId
(String
)
The UUID of the deleted draft. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Note
)
The created note.
ConversationAssignPayload# Autogenerated return type of ConversationAssign
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationAttachment# A file attached to a message.
Fields# Name Description changesetId
(String!
)
The id of a comment's changeset that attachment belongs to. commentId
(String!
)
The id of a comment that attachment belongs to. contentId
(String
)
The RFC2387 identifier of the attachment, if from an email. createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The user that created the attachment. deliverBy
(DateTime
)
The date and time that the message was sent. Used to allow for undoing send. downloadUrl
(String
)
The public direct download URL of the attachment. fileName
(String
)
The name of the attachment. fileSize
(String
)
The attachment size in bytes. fileType
(String
)
The attachment MIME type. id
(ID!
)
The attachment s3 key. scanReport
(AttachmentScanReport
)
The attachment type. ticketId
(String!
)
The id of a ticket that attachment belongs to. type
(AttachmentType
)
The attachment type. updatedAt
(DateTime!
)
The date and time that the object was last updated. url
(String
)
The public URL of the attachment.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationAttachmentConnection# The connection type for ConversationAttachment.
Fields# ConversationAttachmentEdge# An edge in a connection.
Fields# ConversationBulkDeletePayload# Autogenerated return type of ConversationBulkDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. jid
(String!
)
The ID of the batch job that will delete the conversations.
ConversationChangeChannelPayload# Autogenerated return type of ConversationChangeChannel
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationChangeContactPayload# Autogenerated return type of ConversationChangeContact
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The conversation that was updated. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationClosePayload# Autogenerated return type of ConversationClose
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationConnection# The connection type for Conversation.
Fields# Name Description edges
([ConversationEdge]
)
A list of edges. nodes
([Conversation]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
ConversationCounts# The statistics about the messages and interactions in the conversation.
Fields# Name Description attachments
(Int!
)
The number of files attached to all messages in the conversation. interactions
(Int!
)
The total number of messages, notes, and state changes in the conversation. messages
(Int!
)
The total number of messages in the conversation. notes
(Int!
)
The total number of notes in the conversation. stateChanges
(Int!
)
The total number of state changes in the conversation.
ConversationCreateEmailPayload# Autogenerated return type of ConversationCreateEmail
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(EmailConversation
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
The group of events for changes made.
conversationDeleteNotePayload# Autogenerated return type of conversationDeleteNote
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. deletedMessageId
(ID!
)
The IDs of the deleted message. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationDeletePayload# Autogenerated return type of ConversationDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedConversationIds
([ID!]!
)
The IDs of the deleted conversations. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input.
ConversationDeleted# A conversation was moved to trash.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Conversation
)
The item at the end of the edge.
conversationEditNotePayload# Autogenerated return type of conversationEditNote
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Note
)
The created note.
ConversationFollowPayload# Autogenerated return type of ConversationFollow
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationForwardPayload# Autogenerated return type of ConversationForward
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The forwarded conversation. deletedDraftId
(String
)
The UUID of the deleted draft. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Message
)
The created message.
ConversationForwardV2Payload# Autogenerated return type of ConversationForwardV2
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The forwarded conversation. deletedDraftId
(String
)
The UUID of the deleted draft. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Message
)
The created message.
conversationLinkResourcePayload# Autogenerated return type of conversationLinkResource
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The conversation the resource is linked to. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationLogPayload# Autogenerated return type of ConversationLog
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(EmailConversation
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
The group of events for changes made.
ConversationMergePayload# Autogenerated return type of ConversationMerge
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. source
(Conversation!
)
The deleted source conversation. sourceDiffs
([Diff!]!
)
The movement in search and folder counts from the source conversation change. target
(Conversation!
)
The updated target conversation. targetDiffs
([Diff!]!
)
The movement in search and folder counts from the target conversation change.
ConversationMerged# A conversation was merged into another conversation.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The ID of the channel that the source conversation was in. sourceContactId
(ID
)
The ID of the contact of the source conversation. sourceCreatedAt
(DateTime
)
The date and time that the source conversation was created. sourceNumber
(Int!
)
The number of the source conversation. target
(Conversation!
)
The conversation that the source conversation was merged into. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationMoveMessagePayload# Autogenerated return type of ConversationMoveMessage
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation!
)
The new conversation. errors
([UserError!]!
)
Errors related to user input.
ConversationOpenPayload# Autogenerated return type of ConversationOpen
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationPreferences# No description
Fields# Name Description defaultReplyState
(ConversationReplyState!
)
The default state to set conversations to after replying. groupFolders
(Boolean!
)
Whether or not to group folders by mailbox. scopedContactsSearch
(Boolean!
)
Whether or not to scope contact search to the current mailbox. showAllInboxes
(Boolean!
)
True if the combined inbox for all mailboxes should show in the UI; false otherwise.
ConversationReplyPayload# Autogenerated return type of ConversationReply
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The replied to conversation. deletedDraftId
(String
)
The UUID of the deleted draft. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Message
)
The created message.
conversationRestorePayload# Autogenerated return type of conversationRestore
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversations
(ConversationConnection
)
The restored conversations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input.
ConversationRestored# A conversation was restored from trash.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationSnoozePayload# Autogenerated return type of ConversationSnooze
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationSpamPayload# Autogenerated return type of ConversationSpam
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationStarPayload# Autogenerated return type of ConversationStar
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationStarred# The conversation was starred.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationSubjectPayload# Autogenerated return type of ConversationSubject
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationTagPayload# Autogenerated return type of ConversationTag
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
conversationToggleNoteReactionPayload# Autogenerated return type of conversationToggleNoteReaction
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made. message
(Note
)
The created note.
ConversationTrashPayload# Autogenerated return type of ConversationTrash
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The trashed conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationUnassignPayload# Autogenerated return type of ConversationUnassign
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
conversationUndoSendPayload# Autogenerated return type of conversationUndoSend
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input.
ConversationUnfollowPayload# Autogenerated return type of ConversationUnfollow
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationUnreadPayload# Autogenerated return type of ConversationUnread
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationUnstarPayload# Autogenerated return type of ConversationUnstar
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
ConversationUnstarred# The conversation was unstarred.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ConversationUntagPayload# Autogenerated return type of ConversationUntag
Fields# Name Description changesetId
(String
)
The changeset ID for the update. clientMutationId
(String
)
A unique identifier for the client performing the mutation. conversation
(Conversation
)
The updated conversation. diffs
([Diff!]!
)
The movement in search/folder counts due to this mutation. errors
([UserError!]!
)
Errors related to user input. eventGroup
(EventGroupType
)
The group of events for changes made.
Coupon# Represents a coupon that can be accociated with a discount
Fields# Name Description amountOff
(Int
)
A positive integer representing the amount to subtract from an invoice total (required if percent_off is not passed. createdAt
(DateTime!
)
Time at which the object was created. Measured in seconds since the Unix epoch. duration
(CouponDuration!
)
The duration applied for this coupon. durationInMonths
(Int
)
If duration is repeating, the number of months the coupon applies. Null if coupon duration is forever or once. id
(ID!
)
The external id for this coupon. maxRedemptions
(Int
)
Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid. name
(String
)
Name of the coupon displayed to customers on for instance invoices or receipts. percentOff
(Int
)
A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if amount_off is not passed. timesRedeemed
(Int!
)
Number of times this coupon has been applied to a customer. valid
(Boolean!
)
Taking account of the above properties, whether this coupon can still be applied to a customer.
Credentials# No description
Fields# Name Description createdAt
(DateTime!
)
The date and time when the access token was created. expiresAt
(DateTime
)
The date and time when the access token expires. expiresIn
(Int
)
The number of seconds until the access token expires. token
(String!
)
The access token.
CreditCard# Represents all the credit cards currently added to the groove account
Fetch all credit cards for the current account:
Fields# Name Description brand
(String!
)
Card brand. Can be American Express, Diners Club, Discover, Eftpos Australia, JCB, MasterCard, UnionPay, Visa, or Unknown. country
(String
)
Two-letter ISO code representing the country of the card. cvcCheck
(String
)
if a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that CVC was provided but hasn. expiryMonth
(Int!
)
Two-digit number representing the card. expiryYear
(Int!
)
Four-digit number representing the card. funding
(CreditCardFunding!
)
The state of this plan in the 3rd party system. id
(ID!
)
The last four digits of the card. name
(String
)
Card brand. Can be American Express, Diners Club, Discover, Eftpos Australia, JCB, MasterCard, UnionPay, Visa, or Unknown.
CustomDomain# A custom domain lets you customize the URL of your Knowledge Base.
It contains expiry and Let's Encrypt certificate details.
Fields# Name Description domain
(String
)
The custom domain of the Knowledge Base. expiresAt
(String
)
The expiration date of the Let's Encrypt certificate. letsencrypt
(Boolean!
)
True if the custom domain uses a Let's Encrypt certificate; false otherwise. status
(String
)
The status of the Let's Encrypt certificate. valid
(Boolean
)
True if the custom domain of the Knowledge Base is valid; false otherwise.
CustomField# Custom fields provide agents with the ability to define extra data on a
contact or company, along with the means of specifying how that
information is entered and displayed.
Fields# Name Description allowedOperators
([SupportedOperatorType!]
)
The conditional operators that this custom field supports. category
(CustomFieldCategory!
)
The category the custom field belongs to. createdAt
(DateTime!
)
The date and time that the object was created. createdBy
(Agent!
)
The agent that created the custom field. deletable
(Boolean!
)
True if the custom field can be deleted; false otherwise. description
(String
)
A description of the custom field. handleType
(CustomFieldHandleType
)
The unique identifier type linked to this field. hidden
(Boolean!
)
True if the custom field needs to be hidden in the UI; false otherwise. icon
(CustomFieldIcon!
)
The icon for the custom field. id
(ID!
)
True if the custom field allows arrays of values; false otherwise. key
(String!
)
An immutable identifier for the custom field. name
(String
)
The name of the custom field. options
(CustomFieldOptionConnection
)
The available options for the custom field if the type is. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
placeholder
(String
)
The text to show in the input field when it is empty. position
(Int
)
The position of the custom field within the category. The first item starts at 1. Leave blank to append the custom field to the end of the list. required
(Boolean!
)
True if the custom field needs to be filled in the UI; false otherwise. type
(CustomFieldType!
)
The data type of the custom field. updatedAt
(DateTime!
)
The date and time that the object was last updated. updatedBy
(Agent!
)
The agent that last updated the custom field.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
CustomFieldCategory# A grouping of contact or company fields.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. customFields
(CustomFieldConnection!
)
The custom fields belonging to the custom field category. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
deletable
(Boolean!
)
True if the custom field category can be deleted; false otherwise. id
(ID!
)
An immutable identifier for the custom field category. name
(String!
)
The name of the custom field category. type
(CustomFieldCategoryType!
)
The type of the custom field category. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
CustomFieldCategoryConnection# The connection type for CustomFieldCategory.
Fields# CustomFieldCategoryCreatePayload# Autogenerated return type of CustomFieldCategoryCreate
Fields# Name Description category
(CustomFieldCategory
)
The created custom field category. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
CustomFieldCategoryDeletePayload# Autogenerated return type of CustomFieldCategoryDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedCategoryId
(ID
)
The ID of the deleted custom field category. errors
([UserError!]!
)
Errors related to user input. newCategory
(CustomFieldCategory
)
The category that the custom fields were moved to.
CustomFieldCategoryEdge# An edge in a connection.
Fields# CustomFieldCategoryUpdatePayload# Autogenerated return type of CustomFieldCategoryUpdate
Fields# Name Description category
(CustomFieldCategory
)
The updated custom field category. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
CustomFieldConnection# The connection type for CustomField.
Fields# CustomFieldCreatePayload# Autogenerated return type of CustomFieldCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. customField
(CustomField
)
The created custom field. errors
([UserError!]!
)
Errors related to user input.
CustomFieldDeletePayload# Autogenerated return type of CustomFieldDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedCustomFieldId
(ID
)
The ID of the deleted custom field. errors
([UserError!]!
)
Errors related to user input.
CustomFieldEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(CustomField
)
The item at the end of the edge.
CustomFieldOption# An option for a custom field of type DROPDOWN
.
Fields# Name Description customField
(CustomField!
)
The custom field associated with the list. label
(String!
)
The label of the dropdown option. value
(String!
)
The value of the dropdown option.
CustomFieldOptionConnection# The connection type for CustomFieldOption.
Fields# CustomFieldOptionDeletePayload# Autogenerated return type of CustomFieldOptionDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedCustomFieldOptionId
(ID
)
The ID of the deleted custom field option. errors
([UserError!]!
)
Errors related to user input.
CustomFieldOptionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(CustomFieldOption
)
The item at the end of the edge.
CustomFieldRemovePayload# Autogenerated return type of CustomFieldRemove
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. item
(CustomFieldSubjectType!
)
The updated contact or company. removedItemId
(ID!
)
The ID of the removed custom field.
customFieldRestorePayload# Autogenerated return type of customFieldRestore
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. customField
(CustomField!
)
The custom field that was restored. errors
([UserError!]!
)
Errors related to user input.
CustomFieldUpdatePayload# Autogenerated return type of CustomFieldUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. customField
(CustomField!
)
The updated custom field. errors
([UserError!]!
)
Errors related to user input.
CustomFieldValue# The value of a contact or company custom field.
Fields# Name Description customField
(CustomField!
)
The custom field. id
(ID!
)
The value assigned to the custom field.
CustomFieldValueConnection# The connection type for CustomFieldValue.
Fields# CustomFieldValueEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(CustomFieldValue
)
The item at the end of the edge.
CustomFieldValuesBulkUpdatePayload# Autogenerated return type of CustomFieldValuesBulkUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
CustomFieldValuesUpdatePayload# Autogenerated return type of CustomFieldValuesUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. subject
(CustomFieldSubjectType!
)
The contact, company or conversation the custom field values where set on.
CustomerRatingSetting# No description
Fields# CustomerRatingSettingConnection# The connection type for CustomerRatingSetting.
Fields# CustomerRatingSettingDeletePayload# Autogenerated return type of CustomerRatingSettingDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedCustomerRatingSettingId
(ID
)
The ID of the customer rating setting that was deleted. errors
([UserError!]!
)
Errors related to user input.
CustomerRatingSettingEdge# An edge in a connection.
Fields# CustomerRatingSettingTranslation# No description
Fields# Name Description id
(ID!
)
The translation locale. value
(String!
)
The translation value.
CustomerRatingSettingUpsertPayload# Autogenerated return type of CustomerRatingSettingUpsert
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. customerRatingSetting
(CustomerRatingSetting
)
The customer rating setting that was created or updated. errors
([UserError!]!
)
Errors related to user input.
DeleteRoomPayload# Autogenerated return type of DeleteRoom
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedConversationId
(ID
)
The ID of the deleted conversation. errors
([UserError!]!
)
Errors related to user input.
DemoEmailChannel# A channel for email conversations.
To fetch your active mailboxes, you can issue this query:
To fetch inactive mailboxes:
To fetch accessible folders (paginated) for each of your mailboxes:
To fetch conversations in this mailbox, use the QueryRoot
conversations
field with a filter
argument e.g.:
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 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. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
email
(String
)
The email address associated with the mailbox. emailTemplates
([EmailTemplate!]!
)
Email template used for automated or manual email communication. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(FolderFilter
)
The fields by which to filter the results. orderBy
(FolderOrder
)
The field and direction by which to order the results.
forwardEmailAddress
(String!
)
The forwarding email address associated with the mailbox. fromName
(String!
)
The name that replies should be sent from. id
(ID!
)
The custom server used to send out emails. name
(String!
)
The name of the channel. outgoingEmailServer
(OutgoingServerTypeUnion
)
The custom server used to send out emails. permittedAgents
(AgentConnection!
)
The agents permitted to access this channel. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. agentIds
([ID!]
)
Agents that needs to be included.
pinnedSearches
(PinnedSearchConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(PinnedSearchFilter
)
The fields by which to filter the results. orderBy
(PinnedSearchOrder
)
The field and direction by which to order the results.
position
(Int!
)
The position that the mailbox should appear at when listed. provider
(String!
)
The provider. 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. signature
(String
)
The default signature on outgoing messages from the mailbox. state
(ChannelState!
)
The state of the channel. tags
(TagConnection
)
Lists all tags. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
threadingType
(ThreadingType!
)
Whether to use the agent. type
(ChannelType!
)
The communication type of the channel. updatedAt
(DateTime!
)
The date and time that the object was last updated. useAgentName
(Boolean
)
Whether to use the agent.
Interfaces# Name Description Node
An object with an ID. Channel
A channel is a source of incoming conversations. It dictates how
messages in those conversations are sent and received.
For example, an.
Device# The device used by the contact.
Fields# Name Description family
(String
)
The name of the device.
Diff# Diffs represent the changes to search or folder counts as a result
of a mutation.
Clients can read the diff(s) from a mutation, and apply those deltas to
their cached folder counts without having to re-query the API for the correct
counts.
In some cases it's possible to guess how a particular mutation might
affect folder counts. Indeed, the Groove apps generally try to make an
optimistic guess while the mutation request is in-flight.
Often, however, it's non-trivial to do so, and in some cases not
possible. It's more more correct to rely on the API to provide the correct
numbers, and these are provided conveniently inside mutation diffs.
For example, say you have a "question" tag, and there are 20
conversations with that tag applied. Then, an agent triggers a
conversationUntag
mutation for the "question" tag on one of those
conversations. That mutation will then return a diff field showing a -1 delta
for the general search query for that tag. For example:
The client could then cheaply recompute their cached counts for that tag,
and update any previously cached search result counts.
Similarly, if you also had a folder whose rule matches all "question"
tags as well, then that same mutation might result in a folder diff
field like so:
The client could use this information to quickly update any visible
folder counts without having to re-query the API.
Finally, diffs are also provided at the 'All Channels' level (like
above) and for individual channels. If there was a channel where the
above folder was visible, the diff results would look something like so:
Fields# Name Description delta
(Int
)
The difference in the count of conversations that now match this query. query
(String!
)
The query string representing a search or folder, for example.
DisconnectMutationPayload# Autogenerated return type of DisconnectMutation
Fields# Name Description channel
(Channel
)
The channel that was disconnected. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
Discount# Represents a discount applied to the customer or subscription
Fetch all credit cards for the current account:
Fields# Name Description coupon
(Coupon!
)
The coupon used to apply this discount. endAt
(DateTime
)
If the coupon has a duration of repeating, the date that this discount will end. If the coupon has a duration of once or forever, this attribute will be null. id
(ID!
)
The external id for this discount. startAt
(DateTime!
)
The date when this discount was applied. type
(DiscountType!
)
The type of discount being represented.
DraftConnection# The connection type for Draft.
Fields# Name Description edges
([DraftEdge]
)
A list of edges. nodes
([Draft]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
DraftDeletePayload# Autogenerated return type of DraftDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedDraftId
(String
)
The ID of the deleted draft. errors
([UserError!]!
)
Errors related to user input. success
(Boolean!
)
True if the draft was deleted; false otherwise.
DraftEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Draft
)
The item at the end of the edge.
DraftSavePayload# Autogenerated return type of DraftSave
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. contextId
(ID
)
The ID of the context within the conversation. draftId
(ID!
)
The ID of the draft. draftType
(String!
)
The type of the draft. errors
([UserError!]!
)
Errors related to user input. payload
(String
)
The payload of the draft as a schemaless string. success
(Boolean!
)
True if the draft was saved; false otherwise. version
(Int!
)
The version of the draft.
DraftUpsertPayload# Autogenerated return type of DraftUpsert
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. draft
(DraftTypeUnion
)
The upserted draft. errors
([UserError!]!
)
Errors related to user input.
EmailChannel# A channel for email conversations.
To fetch your active mailboxes, you can issue this query:
To fetch inactive mailboxes:
To fetch accessible folders (paginated) for each of your mailboxes:
To fetch conversations in this mailbox, use the QueryRoot
conversations
field with a filter
argument e.g.:
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 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. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
email
(String
)
The email address associated with the mailbox. emailTemplates
([EmailTemplate!]!
)
Email template used for automated or manual email communication. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(FolderFilter
)
The fields by which to filter the results. orderBy
(FolderOrder
)
The field and direction by which to order the results.
forwardEmailAddress
(String!
)
The forwarding email address associated with the mailbox. fromName
(String!
)
The name that replies should be sent from. id
(ID!
)
The custom server used to send out emails. name
(String!
)
The name of the channel. outgoingEmailServer
(OutgoingServerTypeUnion
)
The custom server used to send out emails. permittedAgents
(AgentConnection!
)
The agents permitted to access this channel. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. agentIds
([ID!]
)
Agents that needs to be included.
pinnedSearches
(PinnedSearchConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(PinnedSearchFilter
)
The fields by which to filter the results. orderBy
(PinnedSearchOrder
)
The field and direction by which to order the results.
position
(Int!
)
The position that the mailbox should appear at when listed. provider
(String!
)
The provider. 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. signature
(String
)
The default signature on outgoing messages from the mailbox. state
(ChannelState!
)
The state of the channel. tags
(TagConnection
)
Lists all tags. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
threadingType
(ThreadingType!
)
Whether to use the agent. type
(ChannelType!
)
The communication type of the channel. updatedAt
(DateTime!
)
The date and time that the object was last updated. useAgentName
(Boolean
)
Whether to use the agent.
Interfaces# Name Description Node
An object with an ID. Channel
A channel is a source of incoming conversations. It dictates how
messages in those conversations are sent and received.
For example, an.
EmailChannelCreatePayload# Autogenerated return type of EmailChannelCreate
Fields# Name Description channel
(EmailChannel
)
The created email channel. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
List of errors encountered during creation.
EmailChannelUpdatePayload# Autogenerated return type of EmailChannelUpdate
Fields# Name Description channel
(EmailChannel
)
The created email channel. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
List of errors encountered during creation.
EmailConversation# A Groove conversation initiated in an email channel.
To fetch a specific conversation by ID:
To fetch all conversations in a specific channel or folder:
To find conversations in "all channels" that apply to a specific folder, omit the channel.
By default, conversations are returned with the newest conversations first. To sort showing oldest first:
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
deletedAt
(DateTime
)
The date and time that the conversation was trashed. drafts
(DraftConnection
)
The current user's draft messages on the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
followers
(AgentConnection
)
Lists all agents that are following the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Conversation
A Groove conversation is a thread of messages.
EmailEngineError# Email engine error that occured when interacting with underlying mailbox.
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.
Interfaces# Name Description ErrorType
Represents errors that occurred during channel integration operations.
EmailMarketingIntegration# No description
Fields# Name Description id
(ID!
)
The lists available for this integration. Arguments contactId
(ID
)
Filter out lists that the contact is already subscribed to.
type
(EmailMarketingIntegrationType!
)
The email marketing integration type.
EmailMarketingIntegrationConnection# The connection type for EmailMarketingIntegration.
Fields# EmailMarketingIntegrationEdge# An edge in a connection.
Fields# EmailMarketingList# No description
Fields# Name Description id
(String!
)
The ID of the email marketing list. name
(String!
)
The name of the email marketing list.
EmailMarketingSubscription# No description
Fields# Name Description externalUrl
(String
)
The external url of the email marketing subscription. id
(String!
)
The ID of the email marketing subscription. listId
(String!
)
The ID of the email marketing list. listName
(String!
)
The name of the email marketing list. subscribedAt
(DateTime
)
The date and time that the contact subscribed to the list.
EmailMarketingSubscriptionConnection# The connection type for EmailMarketingSubscription.
Fields# EmailMarketingSubscriptionCreatePayload# Autogenerated return type of EmailMarketingSubscriptionCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
EmailMarketingSubscriptionDeletePayload# Autogenerated return type of EmailMarketingSubscriptionDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
EmailMarketingSubscriptionEdge# An edge in a connection.
Fields# EmailMessage# A message created in Groove as a result of an incoming email.
Both contacts and agents can author these type of messages. For
example, if an agent replies directly to a contact (possibly using a Groove
notification email), then Groove will register the agent's email response as a
MessageFromEmailChange
.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
author
(Author
)
The actor that authored the body. bcc
(RecipientConnection
)
The "Bcc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. cc
(RecipientConnection
)
The "Cc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. parts
(EmailPartConnection!
)
The email parts associated with this email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. to
(RecipientConnection!
)
The "To" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note. Emailable
A message that is sent via email.
EmailPart# No description
Fields# EmailPartConnection# The connection type for EmailPart.
Fields# EmailPartEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(EmailPart
)
The item at the end of the edge.
EmailTemplate# Represents an email template used for automated or manual email communication.
Fields# Name Description body
(String!
)
The body content of the email generated by this template. createdAt
(DateTime!
)
The date and time that the object was created. state
(EmailTemplateState!
)
The current state of the email template, indicating whether it is enabled or disabled. subject
(String!
)
The subject line used for the email generated by this template. trigger
(EmailTemplateTrigger
)
The event that triggers the use of this email template, such as a new ticket notification. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
EphemeralJobResult# No description
Fields# Name Description state
(EphemeralJobResultState
)
The state of the ephemeral job. value
(JSON
)
The value of the ephemeral job, if any exists.
Event# No description
Fields# Name Description actor
(Actor
)
The person or thing that triggered the action. change
(ChangeTypeUnion
)
The details of the change caused by the event. createdAt
(DateTime!
)
The date and time that the event was created. id
(ID!
)
The preview lines and their respective lengths.
Interfaces# Name Description 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.
EventConnection# The connection type for Event.
Fields# Name Description edges
([EventEdge]
)
A list of edges. nodes
([Event]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
EventEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Event
)
The item at the end of the edge.
EventGroupType# A group of events associated with a conversation.
Fields# Name Description actor
(Actor
)
The person or thing that triggered the action. changesetId
(String!
)
A unique identifier for this event group, used for deep linking and message sharing. collapsed
(Boolean!
)
True if the event group is collapsed; false otherwise. conversationId
(String!
)
The id of a ticket that that this group belongs to. events
(EventConnection!
)
The list of events in the event group; no events if collapsed. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
fromMerge
(Boolean!
)
True if the event group comes from a merged conversation; false otherwise. hasAttachments
(Boolean!
)
True if the event group contains attachments; false otherwise. hasRawEmail
(Boolean!
)
True if the event group is linked to a raw email; false otherwise. id
(ID!
)
True if the event group is a forward; false otherwise. isNote
(Boolean!
)
True if the event group is a note; false otherwise. rawEmailId
(String
)
The id of raw email that that this group belongs to. summary
(SummaryMessage
)
A summary of the message in the event group.
EventGroupTypeConnection# The connection type for EventGroupType.
Fields# EventGroupTypeEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(EventGroupType
)
The item at the end of the edge.
EventsShopifyCreatePayload# Autogenerated return type of EventsShopifyCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. event
(Event
)
The event that was created.
ExcludedDomain# A domain that is excluded from being automatically created as a company.
To fetch all excluded domains:
Fields# Name Description domain
(String!
)
The excluded domain.
ExcludedDomainConnection# The connection type for ExcludedDomain.
Fields# ExcludedDomainCreatePayload# Autogenerated return type of ExcludedDomainCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. excludedDomain
(ExcludedDomain
)
The created excluded domain.
ExcludedDomainDeletePayload# Autogenerated return type of ExcludedDomainDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedExcludedDomainId
(ID
)
The ID of the deleted excluded domain. errors
([UserError!]!
)
Errors related to user input.
ExcludedDomainEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(ExcludedDomain
)
The item at the end of the edge.
ExcludedDomainUpdatePayload# Autogenerated return type of ExcludedDomainUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. excludedDomain
(ExcludedDomain
)
The updated excluded domain.
Export# Fields# Name Description cancelledAt
(DateTime
)
The date and time that the export was cancelled. completedAt
(DateTime
)
The date and time that the event was created. createdAt
(DateTime!
)
The date and time that the export was created. dateRangeEnd
(DateTime
)
The end of the date range for the export. dateRangeStart
(DateTime
)
The start of the date range for the export. exportedAt
(DateTime
)
The date and time that the export was exported. failedAt
(DateTime
)
The date and time that the export failed. id
(ID!
)
The name of the export. queuedAt
(DateTime
)
The date and time that the export was queued. requestedBy
(Agent!
)
The ID of the user who requested the export. startedAt
(DateTime
)
The date and time that the export was started. state
(ExportState!
)
The state of the export. updatedAt
(DateTime!
)
The date and time that the export was last updated.
ExportConnection# The connection type for Export.
Fields# ExportEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Export
)
The item at the end of the edge.
FacebookConversation# A Groove conversation initiated from Facebook.
To fetch a specific Facebook conversation by ID:
To fetch all possible fields:
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
deletedAt
(DateTime
)
The date and time that the conversation was trashed. drafts
(DraftConnection
)
The current user's draft messages on the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
facebookId
(String
)
The external Facebook ID of the conversation. followers
(AgentConnection
)
Lists all agents that are following the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Conversation
A Groove conversation is a thread of messages.
FacebookDraft# No description
Fields# Name Description agent
(Agent!
)
The agent who created the draft. assignment
(Assignment
)
The agents and/or teams that are assigned to the draft. body
(String!
)
The draft body. 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.
Interfaces# Name Description Draft
An object with timestamp fields for when it was created and last updated.
FacebookMessage# A message sent to or received from Facebook.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. facebookId
(String
)
The external Facebook ID of the messsage. 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.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note.
FeatureTemplateRule# An automation rule feature template
Fields# Name Description categories
([String!]!
)
Template Categories. description
(String!
)
Template Description. id
(ID!
)
Template Name. personas
([String!]
)
Template Personas. planFeatures
([String!]!
)
The plan features used in this template. popular
(Boolean!
)
True if template should be promoted; false otherwise. template
(FeatureTemplateRuleData!
)
The configuration for a rule template. type
(String!
)
Template Type.
FeatureTemplateRuleData# The configuration for a rule template
Fields# FeatureTemplateRuleDataAction# Rule template action
Fields# FeatureTemplateRuleDataCondition# A rule template condition
Fields# FeatureTemplateRuleDataTrigger# A rule template configuration trigger
Fields# FeatureTemplateRuleScheduleSettings# The schedule settings configuration for a rule.
FeatureTemplates# Features Templates
Fields# File# A file attached to a contact or company.
Fields# Folder# A folder contains a set of conditions that allow for smart filtering of
conversations.
For example, to show only your active conversations, you can create a
folder called "Mine" which contains these two conditions:
"Assigned agent" is "Current User". "Status" is "Opened". By default, folders apply to, and are visible across, all of your
channels. However, you can configure them to be only visible to selected
channels, agents, or teams.
To fetch all folders and their conditions:
To find associated conversations in a folder, use the QueryRoot
conversations
with a filter
argument:
By default folders are sorted by their user-defined row order. To sort
by name instead:
To find conversations in a folder for a specific channel:
Fields# Name Description agents
(AgentConnection
)
Lists the agents that can see the folder. An empty lists implies only certain teams have visibility (see the. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
channel
(Channel!
)
The channel that this folder is in (in the current context. channels
(ChannelConnection!
)
Lists all channels. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ChannelFilter
)
The fields by which to filter the results. orderBy
(ChannelOrder
)
The field and direction by which to order the results.
conditions
(ConditionConnection
)
Lists the conditions that the folder uses to filter conversations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. id
(ID
)
The ID of the specific condition to get. orderBy
(ConditionOrder
)
The field and direction by which to order the results.
conversationCount
(Int!
)
The number of conversations that are in this folder (in the current context. createdAt
(DateTime!
)
The date and time that the object was created. default
(Boolean!
)
True if the folder is automatically created by Groove; false otherwise. description
(String
)
A description of the folder. displayCountWhenInactive
(Boolean!
)
True if counts in the side navigation are visible when the folder is inactive; false otherwise. hideIfZeroConversations
(Boolean!
)
True if folder in the side navigation is hidden when there is zero conversations; false otherwise. id
(ID!
)
True if the folder is protected; false otherwise. matchType
(FolderMatchTypes!
)
The match type of the folder conditions. name
(String!
)
The name of the folder. position
(Int!
)
The position that the folder should appear in when listed. state
(FolderState!
)
The state of the folder. teams
(TeamConnection
)
Lists the teams that can see the folder. An empty lists implies only certain agents have visibility (see the. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. orderBy
(TeamOrder
)
The field and direction by which to order the results.
type
(FolderType!
)
The type of the folder. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
FolderConnection# The connection type for Folder.
Fields# Name Description edges
([FolderEdge]
)
A list of edges. nodes
([Folder]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
FolderCreatePayload# Autogenerated return type of FolderCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. folder
(Folder
)
Created Folder.
FolderDeletePayload# Autogenerated return type of FolderDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedFolderId
(ID
)
The ID of the deleted folder. errors
([UserError!]!
)
Errors related to user input.
FolderEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Folder
)
The item at the end of the edge.
FolderUpdatePayload# Autogenerated return type of FolderUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. folder
(Folder
)
Updated Folder.
FollowerAdded# A conversation is followed by an agent.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. follower
(Agent!
)
The agent that started following the conversation. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
FollowerRemoved# A conversation is unfollowed by an agent.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. follower
(Agent!
)
The agent that stopped following the conversation. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
ForwardedMessage# A message forwarded by an agent from Groove to a third party.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
author
(Author
)
The actor that authored the body. bcc
(RecipientConnection
)
The "Bcc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. cc
(RecipientConnection
)
The "Cc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
channel
(Channel!
)
The channel this message belongs to. createdAt
(DateTime!
)
The date and time that the object was created. deliverBy
(DateTime
)
The date and time that the message was sent. Used to allow for undoing send. 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. to
(RecipientConnection!
)
The "To" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note. Delayable
A message with delayed deliveries. Emailable
A message that is sent via email.
Header# No description
Fields# Name Description name
(String!
)
The email header name. value
(String
)
The email header value.
ImapServer# A server for retrieving emails using the IMAP protocol.
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.
Interfaces# Name Description Server
The interface for different server types.
Import# No description
Fields# Name Description id
(ID!
)
The ID of the import. payed
(Boolean!
)
Was import marked for payed migration. redirectUrl
(String!
)
URL for import2 Status. status
(String
)
The status of the import. token
(String!
)
The token of the import.
Import2CreatePayload# Autogenerated return type of Import2Create
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. redirectUrl
(String!
)
The URL that will open Import2 flow.
ImportConnection# The connection type for Import.
Fields# ImportEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Import
)
The item at the end of the edge.
ImportMutationPayload# Autogenerated return type of ImportMutation
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. jid
(String
)
The ID of the job that will import the messages.
IntegrationAdded# An integration was added to a conversation.
Fields# Name Description conversationId
(String!
)
The id of a ticket that that this event belongs to. createdAt
(DateTime!
)
The date and time that the object was created. externalId
(ID!
)
The external identifier of this integration. id
(ID!
)
The provider of the integration. title
(String!
)
The title of the integration URL. updatedAt
(DateTime!
)
The date and time that the object was last updated. url
(Url!
)
The external integration URL.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
IntegrationAddedConnection# The connection type for IntegrationAdded.
Fields# IntegrationAddedEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(IntegrationAdded
)
The item at the end of the edge.
IntegrationConnection# The connection type for Integration.
Fields# IntegrationDeleteByProviderPayload# Autogenerated return type of IntegrationDeleteByProvider
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedIntegrationIds
([ID!]
)
The IDs of the integrations that were deleted. errors
([UserError!]!
)
Errors related to user input.
IntegrationDeletePayload# Autogenerated return type of IntegrationDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedIntegrationId
(ID
)
The ID of the integration that was deleted. errors
([UserError!]!
)
Errors related to user input.
IntegrationEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Integration
)
The item at the end of the edge.
IntegrationExternalChange# A change to a conversation was triggered by a linked integration.
Fields# Name Description action
(JSON!
)
The details about the change (JSON encoded. createdAt
(DateTime!
)
The date and time that the object was created. externalId
(ID!
)
The external identifier of this integration. id
(ID!
)
The provider of the integration. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
IntegrationJiraServerCreatePayload# Autogenerated return type of IntegrationJiraServerCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. integration
(JiraServerIntegration
)
The jira server integration that was created.
IntegrationProviderSettingsUpdatePayload# Autogenerated return type of IntegrationProviderSettingsUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. integrations
(IntegrationConnection!
)
The integrations that were updated. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
settings
(IntegrationSettings
)
The integration settings that were created/updated.
IntegrationRemoved# An integration was removed from a conversation.
Fields# Name Description conversation
(Conversation!
)
The associated conversation. createdAt
(DateTime!
)
The date and time that the object was created. externalId
(ID!
)
The external identifier of this integration. id
(ID!
)
The provider of the integration. title
(String!
)
The title of the integration URL. updatedAt
(DateTime!
)
The date and time that the object was last updated. url
(Url!
)
The external integration URL.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
IntegrationSettings# No description
Fields# IntegrationSettingsUpdatePayload# Autogenerated return type of IntegrationSettingsUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. integration
(IntegrationUnion!
)
The integration that was updated.
IntegrationUnionConnection# The connection type for IntegrationUnion.
Fields# IntegrationUnionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(IntegrationUnion
)
The item at the end of the edge.
IpAddress# An IP address.
Fields# Name Description accuracy
(Float
)
The accuracy of the IP address geolocation. address
(String!
)
The IP address. city
(String
)
The city of the IP address geolocation. country
(String
)
The country of the IP address geolocation. domain
(String
)
The domain name of the ISP. isp
(String
)
The ISP associated with the IP address. latitude
(Float
)
The latitude of the IP address geolocation. longitude
(Float
)
The longitude of the IP address geolocation. organization
(String
)
The organization associated with the IP address. postalCode
(String
)
The postal code of the IP address geolocation. subdivisions
(String
)
The time zone of the IP address geolocation.
JiraServerIntegration# No description
Fields# Name Description agent
(Agent!
)
The agent this integration is connected to. 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. url
(String!
)
The url. username
(String!
)
The username.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
KbArticleDeletePayload# Autogenerated return type of KbArticleDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedArticleId
(ID
)
The ID of the KB article that was deleted. errors
([UserError!]!
)
Errors related to user input.
KbCategory# A category from a Knowledge Base. Each category can contain multiple articles.
To fetch multiple Knowledge Bases with related categories:
Publishable
An object that can be published, for example Knowledge Base categories or
articles.
For example:
Fields# Name Description articles
(ArticleConnection!
)
The articles assigned to the category. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
author
(Agent
)
The author of the object. coverImageUrl
(Url
)
The URL of the category cover image. createdAt
(DateTime!
)
The date and time that the object was created. description
(String
)
A description of the object. featured
(Boolean!
)
True if the object is set to be featured; false otherwise. id
(ID!
)
The Knowledge Base that the category belongs to to. 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. updatedAt
(DateTime!
)
The date and time that the object was last updated. updater
(Agent
)
The agent that last updated the object.
Interfaces# Name Description Node
An object with an ID. Publishable
An object that can be published, for example Knowledge Base categories or
articles.
For example. Timestamped
An object with timestamp fields for when it was created and last updated.
KbCategoryConnection# The connection type for KbCategory.
Fields# KbCategoryEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(KbCategory
)
The item at the end of the edge.
KbSlugAvailabilityPayload# Autogenerated return type of KbSlugAvailability
Fields# Name Description available
(Boolean!
)
Whether the slug is available or not. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
KbSubdomainAvailabilityPayload# Autogenerated return type of KbSubdomainAvailability
Fields# Name Description available
(Boolean!
)
Whether the subdomain is available or not. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. suggestion
(String
)
Suggestion of subdomain when provided one is not available.
KnowledgeBase# A Groove Knowledge Base, containing categories and articles.
To fetch all Knowledge Bases on the account:
To fetch related articles:
To fetch related Knowledge Base categories:
Fields# Name Description articles
(ArticleConnection!
)
The articles in the Knowledge Base. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
categories
(KbCategoryConnection!
)
The categories in the Knowledge Base. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
createdAt
(DateTime!
)
The date and time that the object was created. customDomain
(CustomDomain!
)
The custom domain settings of the Knowledge Base. customScriptsEnabled
(Boolean
)
True if the Knowledge Base can use custom scripts; false otherwise. enabled
(Boolean!
)
True if the Knowledge Base is accessible; false otherwise. gaAnonymized
(Boolean
)
True if the Google Analytics tracking anonymizes IP addresses; false otherwise. gaCode
(String
)
The Google Analytics tracking code for the Knowledge Base. gaVersion
(Int
)
The Google Analytics tracking code version. id
(ID!
)
The list of whitelisted IP addresses for the Knowledge Base. ipAddressesEnabled
(Boolean!
)
True if the Knowledge Base is protected with IP whitelisting; false otherwise. language
(String
)
The RFC 5646 language code of the Knowledge Base. meta
(Meta
)
The meta data of the Knowledge Base. newWidgetId
(ID
)
The ID of the widget that should be displayed in the KB. openGraph
(OpenGraph
)
The Open Graph information of the Knowledge Base. pageTitle
(String
)
The HTML page title of the object. password
(String
)
The password of the Knowledge Base. passwordEnabled
(Boolean!
)
True if the Knowledge Base is protected with a password; false otherwise. primary
(Boolean!
)
True if the Knowledge Base is the primary Knowledge Base; false otherwise. publishedTheme
(Theme!
)
The published theme of the Knowledge Base. ratingsType
(KbRating!
)
The type of the Knowledge Base ratings. redirectLegacy
(Boolean!
)
True if the legacy Knowledge Base redirects to this one; false otherwise. siteUrl
(Url!
)
The base URL of the Knowledge Base. subdomain
(String!
)
The subdomain of the Knowledge Base. subdomainUrl
(Url!
)
The subdomain URL of the Knowledge Base. theme
(Theme!
)
The current theme of the Knowledge Base. title
(String
)
The title of the Knowledge Base. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
KnowledgeBaseConnection# The connection type for KnowledgeBase.
Fields# KnowledgeBaseEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(KnowledgeBase
)
The item at the end of the edge.
Link# A text link.
Fields# Name Description link
(String!
)
The URL of the link. text
(String
)
The displayed text of the link.
LoginPayload# Autogenerated return type of Login
Fields# Name Description authState
(AuthState!
)
A unique identifier for the client performing the mutation. credentials
(Credentials
)
Errors related to user input.
Mention# A Groove conversation initiated from a Groove Widget.
To fetch mentions for conversation by ID:
MessageMoved# A message was moved from one conversation to start another.
Fields# Name Description destination
(Conversation
)
The conversation the message was moved to. id
(ID!
)
The message that was moved.
Meta# The meta data fields for a Knowledge Base.
Fields# Name Description description
(String
)
The meta description. robots
(String!
)
The meta robots.
MobileNotificationPreferencesUpsertPayload# Autogenerated return type of MobileNotificationPreferencesUpsert
Fields# Name Description agentPreferences
(AgentPreferenceConnection!
)
The agent preferences. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
Money# A amount with the linked defined currency.
Fields# Name Description amount
(Float!
)
The amount. currencyCode
(String
)
The ISO currency code.
NewWidget# No description
Fields# Name Description channelColor
(String!
)
Thw widget color. channelType
(WidgetChannelType!
)
The widget channel type. createdAt
(DateTime!
)
The date and time that the widget was created. hasAccess
(Boolean
)
True if the current user has access to the widget; false otherwise. id
(ID!
)
The widget kind. name
(String!
)
The widget name. status
(WidgetStatus
)
The widget status. updatedAt
(DateTime!
)
The date and time that the widget was updated.
NewWidgetConnection# The connection type for NewWidget.
Fields# NewWidgetEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(NewWidget
)
The item at the end of the edge.
Note# A message created by an agent in Groove, visible only to other agents.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note.
NoteDraft# No description
Fields# Name Description agent
(Agent!
)
The agent who created the draft. assignment
(Assignment
)
The agents and/or teams that are assigned to the draft. attachments
(AttachmentConnection!
)
All attachments on this draft. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
body
(String!
)
The draft body. 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.
Interfaces# Name Description Draft
An object with timestamp fields for when it was created and last updated.
OauthCredentials# No description
Fields# Name Description accessToken
(String!
)
The access token. createdAt
(DateTime!
)
The date and time that the object was created. expiresAt
(DateTime
)
The date and time when the access token expires. id
(ID!
)
The provider that generated this access token. refreshToken
(String
)
The refresh token. uid
(String!
)
The external id linked to this access token. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
OauthCredentialsConnection# The connection type for OauthCredentials.
Fields# OauthCredentialsEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(OauthCredentials
)
The item at the end of the edge.
OpenGraph# The Open Graph fields for a Knowledge Base.
Fields# Name Description description
(String
)
The Open Graph description. imageUrl
(Url
)
The Open Graph image URL. title
(String
)
The Open Graph title.
PageInfo# Information about pagination in a connection.
Fields# Name Description endCursor
(String
)
When paginating forwards, the cursor to continue. hasNextPage
(Boolean!
)
When paginating forwards, are there more items. hasPreviousPage
(Boolean!
)
When paginating backwards, are there more items. startCursor
(String
)
When paginating backwards, the cursor to continue.
PageView# An instance of a page being loaded in browser by a visitor.
Fields# Name Description id
(String
)
A unique identifier for the page view. ipAddress
(IpAddress
)
The IP address of the visitor. language
(String
)
The browser language set by the visitor. occurredAt
(String
)
The date and time that the page view took place. referrer
(ReferrerUrl
)
The page view referrer. timeOnPage
(Float
)
The total time spent on the page by the visitor. title
(String
)
The title of the page being loaded. url
(UrlStruct!
)
The URL of the page being loaded. userAgent
(UserAgent
)
The visitor's user agent.
PinnedSearch# A pinned search is a search query that has been stored by the user for easy reuse.
To fetch all pinned searches:
Fields# Name Description agent
(Agent!
)
The agent who owns created the pinned search. conversationCount
(Int!
)
The number of conversations that are in this folder (in the current context. createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The position that the folder should appear in when listed. queryId
(String
)
A description of the folder. title
(String!
)
A description of the folder. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
PinnedSearchConnection# The connection type for PinnedSearch.
Fields# Name Description edges
([PinnedSearchEdge]
)
A list of edges. nodes
([PinnedSearch]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
PinnedSearchEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(PinnedSearch
)
The item at the end of the edge.
Plan# Represents all the plans currently added to the groove account
Fetch all plans for the current account:
Fields# Name Description createdAt
(DateTime!
)
The date and time when the plan was created. expiresAt
(DateTime
)
The date and time when the plan expires. externalId
(String!
)
Unique identifier for this plan in 3rd party systems like stripe and shopify. id
(ID!
)
The pricing connected to this plan. quantity
(Int
)
The current billed quantity. state
(PlanState!
)
The state of this plan in the 3rd party system. updatedAt
(DateTime
)
The date and time when the plan was last updated.
Platform# No description
Pricing# Represents pricing that can be added to a groove subscription to enable
features or usage on the account
Fetch all possible fields for the current account:
Fetch all possible fields for and all plans:
Fields# Name Description active
(Boolean!
)
Is this pricing available. addonPricingIds
([String!]!
)
The supported addon pricings for this pricing. annual
(Int!
)
The annual amount in cents. externalAnnualPriceId
(String!
)
Unique identifier for the annual variation of this pricing in 3rd party systems like stripe and shopify. externalMonthlyPriceId
(String!
)
Unique identifier for the monthly variation of this pricing in 3rd party systems like stripe and shopify. features
([BillingFeatureType!]!
)
The raw URL. id
(String!
)
Unique identifier. minimumQuantity
(Int!
)
The minimum quantity allowed. monthly
(Int!
)
The monthly amount in cents. name
(String!
)
The display name for this pricing. pricingModel
(PricingModel!
)
The pricing model. trialAvailable
(Boolean!
)
Is this pricing available to trial. type
(PricingType!
)
The pricing type. usageFrom
(PricingUsageFrom!
)
The quantity source. version
(String!
)
The pricing version.
PushToken# No description
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The total notifications that have been recieved since the app was last opened. token
(String!
)
The token. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
PushTokenClearNotificationCountPayload# Autogenerated return type of PushTokenClearNotificationCount
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. pushToken
(PushToken!
)
The push token that was updated.
PushTokenConnection# The connection type for PushToken.
Fields# PushTokenCreatePayload# Autogenerated return type of PushTokenCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. pushToken
(PushToken
)
The push token that was created.
PushTokenDeletePayload# Autogenerated return type of PushTokenDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedPushTokenId
(ID
)
The ID of the deleted push token. errors
([UserError!]!
)
Errors related to user input.
PushTokenEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(PushToken
)
The item at the end of the edge.
QueryRoot# The schema's entry-point for queries. This acts as the public, top-level
API from which all queries must start.
CHANGELOG
2023-12
2020-01
[NEW] mailboxes
now accessible via channels
type QueryRoot implements CompaniesField , ContactsField {
account : Account
accountPreferences : AccountPreferences
agentPreferences (
after : String
before : String
first : Int = 0
last : Int = 0
filter : AgentPreferencesFilterInput
) : AgentPreferenceConnection
agents (
after : String
before : String
first : Int = 0
last : Int = 0
filter : AgentFilter = "[object Object]"
orderBy : AgentOrder = "[object Object]"
) : AgentConnection
aiConversationSuggestions (
after : String
before : String
first : Int = 0
last : Int = 0
filter : SuggestionFilterInput !
) : AiSuggestionConnection
articles (
after : String
before : String
first : Int = 0
last : Int = 0
filter : ArticleFilter = "[object Object]"
orderBy : ArticleOrder = "[object Object]"
) : ArticleConnection !
attachments (
after : String
before : String
first : Int = 0
last : Int = 0
filter : AttachmentsFilterInput
) : ConversationAttachmentConnection
billing : BillingType
cannedReplies (
after : String
before : String
first : Int = 0
last : Int = 0
filter : CannedReplyFilter = "[object Object]"
orderBy : CannedReplyOrder = "[object Object]"
) : CannedReplyConnection
cannedReplyCategories (
after : String
before : String
first : Int = 0
last : Int = 0
orderBy : CategoryOrder = "[object Object]"
) : CannedReplyCategoryConnection
channels (
after : String
before : String
first : Int = 0
last : Int = 0
filter : ChannelFilter = "[object Object]"
orderBy : ChannelOrder = "[object Object]"
) : ChannelConnection !
companies (
after : String
before : String
first : Int = 0
last : Int = 0
filter : CompanyFilter
orderBy : CompanyOrder = "[object Object]"
) : CompanyConnection
contacts (
after : String
before : String
first : Int = 0
last : Int = 0
filter : ContactFilter = "[object Object]"
orderBy : ContactOrder = "[object Object]"
) : ContactConnection
conversation ( number : Int ! ) : Conversation
conversationPreferences : ConversationPreferences !
conversations (
after : String
before : String
first : Int = 0
last : Int = 0
filter : ConversationFilter = "[object Object]"
orderBy : ConversationOrder
) : ConversationConnection
customFieldCategories (
after : String
before : String
first : Int = 0
last : Int = 0
filter : CustomFieldCategoryFilter
) : CustomFieldCategoryConnection
customFields (
after : String
before : String
first : Int = 0
last : Int = 0
filter : CustomFieldFilter
) : CustomFieldConnection
customProfile ( contactId : ID ! , hardRefresh : Boolean , channelId : ID = 0 ) : JSON
customerRatingSettings (
after : String
before : String
first : Int = 0
last : Int = 0
) : CustomerRatingSettingConnection
drafts (
after : String
before : String
first : Int = 0
last : Int = 0
filter : DraftFilter = "[object Object]"
orderBy : DraftOrder = "[object Object]"
) : DraftConnection !
emailMarketingIntegrations (
after : String
before : String
first : Int = 0
last : Int = 0
) : EmailMarketingIntegrationConnection !
emailMarketingSubscriptions (
after : String
before : String
first : Int = 0
last : Int = 0
integrationId : ID !
contactId : ID !
) : EmailMarketingSubscriptionConnection !
ephemeralJobResult ( id : ID ! ) : EphemeralJobResult
eventGroups (
after : String
before : String
first : Int = 0
last : Int = 0
filter : EventGroupsFilterInput !
) : EventGroupTypeConnection !
events (
after : String
before : String
first : Int = 0
last : Int = 0
filter : EventsFilterInput !
) : EventConnection !
excludedDomains (
after : String
before : String
first : Int = 0
last : Int = 0
) : ExcludedDomainConnection
existsForAnyAccount ( provider : String ! , shopDomain : String ! ) : Boolean !
exports (
after : String
before : String
first : Int = 0
last : Int = 0
filter : ExportFilter = "[object Object]"
orderBy : ExportOrder = "[object Object]"
) : ExportConnection
featureTemplateCategories : [ String ! ] !
featureTemplates : FeatureTemplates !
folders (
after : String
before : String
first : Int = 0
last : Int = 0
filter : FolderFilter = "[object Object]"
orderBy : FolderOrder = "[object Object]"
) : FolderConnection
import2Imports (
after : String
before : String
first : Int = 0
last : Int = 0
) : ImportConnection !
import2Tools (
after : String
before : String
first : Int = 0
last : Int = 0
) : ToolConnection !
integrations (
after : String
before : String
first : Int = 0
last : Int = 0
filter : IntegrationsFilter
) : IntegrationUnionConnection !
knowledgeBases (
after : String
before : String
first : Int = 0
last : Int = 0
) : KnowledgeBaseConnection
latestPublicAgentReplies (
after : String
before : String
first : Int = 0
last : Int = 0
agentId : ID = 0
limit : Int = 10
) : ReplyConnection
linkedResources (
after : String
before : String
first : Int = 0
last : Int = 0
filter : LinkedResourcesFilterInput !
) : IntegrationAddedConnection !
me : Agent !
node ( id : ID ! ) : Node
nodes ( ids : [ ID ! ] ! ) : [ Node ] !
ping : String !
pinnedSearches (
after : String
before : String
first : Int = 0
last : Int = 0
filter : PinnedSearchFilter
orderBy : PinnedSearchOrder = "[object Object]"
) : PinnedSearchConnection
pushTokens (
after : String
before : String
first : Int = 0
last : Int = 0
) : PushTokenConnection !
rawEmail ( messageId : ID ! ) : RawEmail
rooms (
after : String
before : String
first : Int = 0
last : Int = 0
filter : RoomFilter = "[object Object]"
orderBy : RoomOrder = "[object Object]"
) : RoomConnection
roomsCounts (
folderIds : [ ID ! ] = [ ]
channelId : ID = 0
channelType : RoomChannelTypeEnum
) : RoomsCountsResult
rules (
after : String
before : String
first : Int = 0
last : Int = 0
filter : RuleFilter = "[object Object]"
orderBy : RuleOrder = "[object Object]"
) : RuleConnection
starredCannedReplies (
after : String
before : String
first : Int = 0
last : Int = 0
) : StarredCannedReplyConnection
tags (
after : String
before : String
first : Int = 0
last : Int = 0
filter : TagFilter
orderBy : TagOrder
) : TagConnection
teams (
after : String
before : String
first : Int = 0
last : Int = 0
filter : TeamFilter = "[object Object]"
orderBy : TeamOrder = "[object Object]"
) : TeamConnection
themes (
after : String
before : String
first : Int = 0
last : Int = 0
) : ThemeConnection !
wallets (
after : String
before : String
first : Int = 0
last : Int = 0
features : [ String ! ] = [ ]
options : WalletOptionsInput
) : WalletConnection
widgets (
after : String
before : String
first : Int = 0
last : Int = 0
filter : WidgetFilter
) : NewWidgetConnection
}
Copy Fields# Name Description account
(Account
)
Returns account related information. accountPreferences
(AccountPreferences
)
List of account preferences. agentPreferences
(AgentPreferenceConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentPreferencesFilterInput
)
The fields by which to filter the results.
agents
(AgentConnection
)
Lists all agents in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
aiConversationSuggestions
(AiSuggestionConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(SuggestionFilterInput!
)
The fields by which to filter the results.
articles
(ArticleConnection!
)
Lists all Knowledge Base articles. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ArticleFilter
)
The fields by which to filter the results. orderBy
(ArticleOrder
)
The field and direction by which to order the results.
attachments
(ConversationAttachmentConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AttachmentsFilterInput
)
The fields by which to filter the results.
billing
(BillingType
)
Returns billing related information. cannedReplies
(CannedReplyConnection
)
Lists all canned replies. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CannedReplyFilter
)
The fields by which to filter the results. orderBy
(CannedReplyOrder
)
The field and direction by which to order the results.
cannedReplyCategories
(CannedReplyCategoryConnection
)
Lists all canned reply categories. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. orderBy
(CategoryOrder
)
The field and direction by which to order the results.
channels
(ChannelConnection!
)
Lists all channels. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ChannelFilter
)
The fields by which to filter the results. orderBy
(ChannelOrder
)
The field and direction by which to order the results.
companies
(CompanyConnection
)
Lists all companies. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CompanyFilter
)
The fields by which to filter the results. orderBy
(CompanyOrder
)
The field and direction by which to order the results.
contacts
(ContactConnection
)
Lists all contacts. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ContactFilter
)
The fields by which to filter the results. orderBy
(ContactOrder
)
The field and direction by which to order the results.
conversation
(Conversation
)
Finds a conversation by number. Arguments number
(Int!
)
The conversation number.
conversationPreferences
(ConversationPreferences!
)
Conversation preferences. conversations
(ConversationConnection
)
Lists all conversations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ConversationFilter
)
The fields by which to filter the results. orderBy
(ConversationOrder
)
The field and direction by which to order the results.
customFieldCategories
(CustomFieldCategoryConnection
)
Lists all custom field categories. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldCategoryFilter
)
The fields by which to filter the results.
customFields
(CustomFieldConnection
)
Lists all custom fields. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldFilter
)
The fields by which to filter the results.
customProfile
(JSON
)
Fetches the custom profile for a contact. Arguments contactId
(ID!
)
The ID of the contact. hardRefresh
(Boolean
)
Whether the custom profile should be refreshed. channelId
(ID
)
The ID of the channel.
customerRatingSettings
(CustomerRatingSettingConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
drafts
(DraftConnection!
)
Lists drafts associated to requesting user. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(DraftFilter
)
The fields by which to filter the results. orderBy
(DraftOrder
)
The field and direction by which to order the results.
emailMarketingIntegrations
(EmailMarketingIntegrationConnection!
)
The installed email marketing integrations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
emailMarketingSubscriptions
(EmailMarketingSubscriptionConnection!
)
The email marketing. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. integrationId
(ID!
)
The ID of the email marketing integration. contactId
(ID!
)
The ID of the contact.
ephemeralJobResult
(EphemeralJobResult
)
Find an ephemeral job result by id. Arguments id
(ID!
)
The id of the ephemeral job.
eventGroups
(EventGroupTypeConnection!
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(EventGroupsFilterInput!
)
The fields by which to filter the results.
events
(EventConnection!
)
Lists the events for a given conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(EventsFilterInput!
)
The fields by which to filter the results.
excludedDomains
(ExcludedDomainConnection
)
Lists all excluded domains. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
existsForAnyAccount
(Boolean!
)
Checks if there is already existing OauthCredential with provided shop domain for any Groove account. Arguments provider
(String!
)
The provider to check for existing integrations for. shopDomain
(String!
)
The shop domain.
exports
(ExportConnection
)
Lists all exports of organization data. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(ExportFilter
)
The fields by which to filter the results. orderBy
(ExportOrder
)
The field and direction by which to order the results.
featureTemplateCategories
([String!]!
)
Lists all feature templates categories. featureTemplates
(FeatureTemplates!
)
Lists feature templates. folders
(FolderConnection
)
Lists all folders that are accessible to the authenticated agent. Each folder can be associated with one or more mailboxes. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(FolderFilter
)
The fields by which to filter the results. orderBy
(FolderOrder
)
The field and direction by which to order the results.
import2Imports
(ImportConnection!
)
Lists all imports. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
import2Tools
(ToolConnection!
)
Lists all apps provided by Import2 partner. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
integrations
(IntegrationUnionConnection!
)
Connected integrations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(IntegrationsFilter
)
Filter integrations.
knowledgeBases
(KnowledgeBaseConnection
)
Lists all Knowledge Bases. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
latestPublicAgentReplies
(ReplyConnection
)
The latest replies made by an agent in the last 3 months. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. agentId
(ID
)
The agent ID to filter by. If no value is provided, all active agents will be used. limit
(Int
)
The number of replies to return. Default 10, max 20.
linkedResources
(IntegrationAddedConnection!
)
Lists the linked integration resources for a given conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(LinkedResourcesFilterInput!
)
The fields by which to filter the results.
me
(Agent!
)
Gets the authenticated agent. node
(Node
)
Fetches an object given its ID. Arguments id
(ID!
)
ID of the object.
nodes
([Node]!
)
Fetches a list of objects given a list of IDs. Arguments ids
([ID!]!
)
IDs of the objects.
ping
(String!
)
Performs a health check for the Groove GraphQL API. pinnedSearches
(PinnedSearchConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(PinnedSearchFilter
)
The fields by which to filter the results. orderBy
(PinnedSearchOrder
)
The field and direction by which to order the results.
pushTokens
(PushTokenConnection!
)
All push tokens for the current user. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
rawEmail
(RawEmail
)
Load a raw email by the message id. Arguments messageId
(ID!
)
The ID of the message which raw email is required.
rooms
(RoomConnection
)
Lists all Live Chat rooms. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(RoomFilter
)
The fields by which to filter the results. orderBy
(RoomOrder
)
The field and direction by which to order the results.
roomsCounts
(RoomsCountsResult
)
Lists all Live Chat room counts. Arguments folderIds
([ID!]
)
The IDs of the folders to get a chat rooms count for. channelId
(ID
)
The ID of the channel to filter the chat rooms counts by. channelType
(RoomChannelTypeEnum
)
The channel type that the request needs to be filtered by.
rules
(RuleConnection
)
Lists all rules in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(RuleFilter
)
The fields by which to filter the results. orderBy
(RuleOrder
)
The field and direction by which to order the results.
starredCannedReplies
(StarredCannedReplyConnection
)
Returns the elements in the list that come after the specified cursor. Arguments before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
tags
(TagConnection
)
Lists all tags. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
teams
(TeamConnection
)
Lists all teams in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TeamFilter
)
The fields by which to filter the results. orderBy
(TeamOrder
)
The field and direction by which to order the results.
themes
(ThemeConnection!
)
Lists all Knowledge Base themes. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
wallets
(WalletConnection
)
Lists all wallets associated with user. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. features
([String!]
)
Filter wallets by features. options
(WalletOptionsInput
)
Filter wallets by options.
widgets
(NewWidgetConnection
)
Lists all widgets in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(WidgetFilter
)
Filter widgets.
Interfaces# Rating# A rating is feedback on a conversation message from a contact for an agent.
Fields# Name Description agent
(Agent
)
The subject of the rating. createdAt
(DateTime!
)
The date and time that the object was created. feedback
(String
)
A message accompanying the rating. grade
(RatingEnum
)
The actual rating. id
(ID!
)
The message associated with the rating. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
RawEmail# No description
Fields# Name Description body
(String
)
The body of the message in HTML. bodyPlainText
(String
)
The body of the message in plain text. createdAt
(DateTime!
)
The date and time that the object was created. headers
([Header!]
)
The email headers recieved with this email. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
RechargeIntegration# No description
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. fullStoreDomain
(String!
)
The full store domain. id
(ID!
)
The Groove legacy API ID. provider
(IntegrationProvider!
)
The integration provider. settings
(IntegrationSettings!
)
The global settings for all integrations of this provider type. storeDomain
(String!
)
The shop domain. storeName
(String!
)
The shop name. uid
(String
)
The integration UID. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
RecipientConnection# The connection type for Recipient.
Fields# RecipientEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Recipient
)
The item at the end of the edge.
ReferrerUrl# The address of the webpage from which the visitor came to your page.
Fields# Name Description domain
(String
)
The domain of the URL. hash
(String
)
The URL's hash property. medium
(String
)
The category of the source. path
(String
)
The path of the URL. protocol
(String
)
The URL's protocol. query
(String
)
The query string of the URL. raw
(String!
)
The raw URL. searchTerm
(String
)
The search term used by the visitor. source
(String
)
The origin of the visitor.
Reply# An email message from an agent to a contact.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
author
(Author
)
The actor that authored the body. bcc
(RecipientConnection
)
The "Bcc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. cc
(RecipientConnection
)
The "Cc" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
channel
(Channel!
)
The channel this message belongs to. createdAt
(DateTime!
)
The date and time that the object was created. deliverBy
(DateTime
)
The date and time that the message was sent. Used to allow for undoing send. 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. to
(RecipientConnection!
)
The "To" recipients of the email. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note. Delayable
A message with delayed deliveries. Emailable
A message that is sent via email.
ReplyConnection# The connection type for Reply.
Fields# Name Description edges
([ReplyEdge]
)
A list of edges. nodes
([Reply]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
ReplyDraft# No description
Fields# Name Description agent
(Agent!
)
The agent who created the draft. assignment
(Assignment
)
The agents and/or teams that are assigned to the draft. attachments
(JSON
)
All attachments on this draft. bcc
(JSON
)
The draft recipients. body
(String!
)
The draft body. cc
(JSON
)
The draft recipients. 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. subject
(String
)
The draft subject. to
(JSON
)
The draft recipients. updatedAt
(DateTime!
)
The date and time that the object was last updated. version
(Int!
)
The draft version.
Interfaces# Name Description Draft
An object with timestamp fields for when it was created and last updated.
ReplyEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Reply
)
The item at the end of the edge.
Restriction# The agents and/or teams that are assigned to the conversation.
Fields# Name Description agents
([Agent!]
)
The agents that should be given access to the specified resource. teams
([Team!]
)
The teams who should be given access to the specified resource. type
(RestrictionType!
)
The currently applied re.
Room# A Room represents a chat room
Fields# Name Description agentId
(ID
)
The ID of the agent assigned to the chat room. assigneeType
(String
)
The type of the chat room assignee. channelId
(ID
)
The channel ID. contact
(RoomContactType
)
Basic contact information for this room. id
(ID!
)
The chat room ID. isRead
(Boolean
)
True if the chat room is read; false otherwise. isStarred
(Boolean
)
True if the chat room is starred; false otherwise. name
(String
)
The chat room name. number
(Int
)
The ID of the conversation within the account. roomType
(RoomKindType!
)
The kind of the chat room. snoozedUntilTimestamp
(BigInt
)
The date and time until which the conversation is snoozed. If blank, it is snoozed indefinitely. state
(RoomStateType
)
The state of the chat room. tags
([ID!]
)
The list of tags on the chat room. teamId
(ID
)
The ID of the team assigned to the chat room. topic
(String
)
The chat room topic. updatedTimestamp
(BigInt!
)
The date and time that the chat room was last updated.
RoomAccess# No description
Fields# Name Description hasAccess
(Boolean!
)
True if the current user has access to the room; false otherwise. id
(ID!
)
The chat room ID. number
(Int
)
The ID of the conversation within the account.
RoomConnection# The connection type for Room.
Fields# Name Description edges
([RoomEdge]
)
A list of edges. nodes
([Room]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
RoomContactType# Basic contact information for this room
RoomEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Room
)
The item at the end of the edge.
RoomsCount# The chat room count for the given state.
Fields# Name Description conversationCount
(Int
)
The total number of chat rooms. id
(ID!
)
The folder ID. unreadCount
(Int
)
The total number of unread chats.
RoomsCountsResult# The chat room counts with the date and time that the chat room was last updated.
Fields# Name Description data
([RoomsCount!]!
)
The chat room counts. lastUpdatedAt
(BigInt!
)
The date and time that the chat room was last updated.
Rule# A set of actions that will be performed on matching conversations. To fetch all rules and their conditions:
By default rules are sorted by their user-defined row order. To sort
by name instead:
Fields# Name Description actions
(RuleActionConnection
)
Actions associated with this rule. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
conditions
(RuleConditionConnection
)
The Conditions that this rule uses to filter Conversations. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. id
(ID
)
The specific Condition ID to fetch. orderBy
(ConditionOrder
)
Sort order of results.
createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The agent that created the rule. description
(String
)
A description of the rule. id
(ID!
)
The last time this rule was executed. matchType
(RuleMatchTypes!
)
The match type of the Rule Conditions e.g. any, all. name
(String!
)
The name of the rule. position
(Int!
)
The position that the rule should appear in when listed. scheduleSettings
(FeatureTemplateRuleScheduleSettings
)
The schedule type settings. scheduleType
(ScheduleType
)
The schedule of the rule. state
(RuleState!
)
The state of the rule. stopUpcoming
(Boolean!
)
True to stop upcoming rules; false otherwise. totalExecutions
(Int!
)
The amount of times this rule has executed. triggers
(RuleTriggerConnection
)
Triggers associated with this rule. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
RuleAction# An action to be performed by an automation rule.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The message template used when sending this rule. toAgent
(String
)
The agent the action is directed to, if applicable. type
(RuleActionType!
)
The rule action type. updatedAt
(DateTime!
)
The date and time that the object was last updated. value
(String
)
The value associated with the action (for example, an agent ID.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
RuleActionConnection# The connection type for RuleAction.
Fields# RuleActionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(RuleAction
)
The item at the end of the edge.
RuleCondition# A rule template condition
Fields# Name Description id
(ID!
)
The logic operator to use, for example. param
(RuleConditionParam!
)
The conversation field to use. source
(RuleConditionSourceUnion
)
The source for the condition. No value indicates the conversation as the source. value
(String
)
The value to match against, for example.
RuleConditionConnection# The connection type for RuleCondition.
Fields# RuleConditionEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(RuleCondition
)
The item at the end of the edge.
RuleConnection# The connection type for Rule.
Fields# Name Description edges
([RuleEdge]
)
A list of edges. nodes
([Rule]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
RuleCreatePayload# Autogenerated return type of RuleCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. rule
(Rule
)
Created Rule.
RuleDeletePayload# Autogenerated return type of RuleDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedRuleId
(ID
)
The ID of the deleted rule. errors
([UserError!]!
)
Errors related to user input.
RuleEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Rule
)
The item at the end of the edge.
RuleReplyTemplate# Replesents en email message template used by rules.
Fields# Name Description attachments
(AttachmentConnection!
)
All attachments on this template. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
body
(String!
)
The body of the message in HTML. createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The subject of the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
RuleTrigger# A trigger for an automation rule.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
Settings for the trigger in JSON format. type
(RuleTriggerType!
)
The type of the trigger. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
RuleTriggerConnection# The connection type for RuleTrigger.
Fields# RuleTriggerEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(RuleTrigger
)
The item at the end of the edge.
RuleUpdatePayload# Autogenerated return type of RuleUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. rule
(Rule
)
Updated Rule.
SalesforceIntegration# No description
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. salesforceDomain
(String!
)
The domain of the salesforce installation. 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.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
SearchSummary# A search summary shows the details about matching messages on a conversation search.
Fields# Name Description author
(Author
)
The author of the message. body
(String!
)
The body of the comment with the matching keywords highlighted. forwarded
(Boolean!
)
True if the message was forwarded; false otherwise. note
(Boolean!
)
True if the message is a note; false otherwise.
Session# A contact visit session as recorded by the Widget.
Fields# Name Description firstPageView
(PageView
)
The first page view. id
(String
)
The session ID. lastPageView
(PageView
)
The last page view. penultimatePageView
(PageView
)
The second-to-last page view. totalPageViews
(Int
)
The total number of page views. totalTimeOnPage
(Float
)
The total time spent on page.
ShopifyExternalChange# A change that happened on Shopify.
Fields# Name Description changeType
(ShopifyChangeType!
)
The type of change. externalId
(String!
)
The ID on Shopify. link
(String!
)
The link to the item on Shopify. meta
(JSON
)
Metadata related to the change.
ShopifyIntegration# No description
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. storeDomain
(String!
)
The shop domain. storeName
(String
)
The shop name. uid
(String
)
The integration UID. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
ShopifyV2Integration# No description
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. storeDomain
(String!
)
The shop domain. storeName
(String!
)
The shop name. uid
(String
)
The integration UID. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
SmtpServer# A server for sending emails using the SMTP protocol.
Fields# Name Description authentication
(String
)
The authentication method (e.g., LOGIN, PLAIN. 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.
Interfaces# Name Description Server
The interface for different server types.
Snooze# A snooze represents the agent that snoozed the conversation and when it
is snoozed until.
Fields# Name Description by
(Agent!
)
The agent that snoozed the conversation. until
(DateTime
)
The date and time until which the conversation is snoozed. If blank, it is snoozed indefinitely.
Snoozed# A conversation was snoozed.
Fields# Name Description by
(Agent
)
The date and time that the object was created. id
(ID!
)
The date and time until which the conversation is snoozed. If blank, it is snoozed indefinitely. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
StarredCannedReply# A canned reply is a prewritten answer to commonly asked customer questions.
To fetch all canned replies:
To fetch all canned replies with a given search string:
To fetch all canned replies with a given search string in a particular category:
Fields# Name Description attachments
(AttachmentConnection!
)
All attachments on this canned reply. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
automaticActions
([CannedReplyAutomaticAction!]!
)
All automatic actions set on this canned reply. body
(String
)
The content of the canned reply template. category
(CannedReplyCategory
)
The category of the canned reply. countUsed
(Int!
)
The number of times the object has been utilized. createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The agent that created the canned reply. id
(ID!
)
The content of the canned reply template with all variables interpolated. Arguments contactId
(ID!
)
The ID of the contact to use for interpolation. conversationId
(ID
)
The ID of the conversation to use for interpolation. messageId
(ID
)
The ID of the message to use for interpolation. channelId
(ID
)
The ID of the channel to use for interpolation.
lastUsedAt
(DateTime
)
The date and time that the object was last used. mailboxIds
([String!]
)
Searches for a mailbox that match the id. name
(String
)
The name of the canned reply. snippet
(String
)
A short snippet from the canned reply body. subject
(String
)
The subject line of the canned reply. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated. Utilizationabled
An object with utilization fields for when it was last used and how many times it has been used.
StarredCannedReplyConnection# The connection type for StarredCannedReply.
Fields# StarredCannedReplyCreatePayload# Autogenerated return type of StarredCannedReplyCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. starredCannedReply
(StarredCannedReply
)
The starred canned reply that was created.
StarredCannedReplyDeletePayload# Autogenerated return type of StarredCannedReplyDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. messageTemplateId
(ID
)
The starred canned reply that was created.
StarredCannedReplyEdge# An edge in a connection.
Fields# StateChanged# The state of the conversation changed.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(ConversationState
)
The previous state of the conversation. id
(ID!
)
The new state of the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
SubjectChanged# A conversation subject was updated.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(String
)
The previous subject of the conversation. id
(ID!
)
The new subject of the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
SuggestionUpsertPayload# Autogenerated return type of SuggestionUpsert
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
SummaryMessage# An individual message with the body truncated.
Sample usage:
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. truncated
(Boolean
)
True if the message was truncated; false otherwise. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Message
An individual message, for example an incoming email, an email reply,
or a note.
SupportedOperatorType# Represents supported operators and their associated systems in various condition types.
Fields# Name Description operator
(Operator!
)
The operator used in the condition. supportedSystems
([ConditionSystem!]!
)
List of systems that support this operator.
SyncRpcPayload# Autogenerated return type of SyncRpc
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. response
(JSON
)
JSON object of result.
Tag# A label that can be added to any conversation. Tags can be used in
folder definitions to create 'smart' folders, in Inbox to search for
specific conversations, and in Reporting to monitor trends.
To fetch all tags in the account:
To fetch all tags applied to a specific conversation:
To fetch a single tag:
Fields# Name Description color
(String
)
The display color of the tag. conversationCount
(Int!
)
The number of conversations that the tag is applied to. createdAt
(DateTime!
)
The date and time that the object was created. creator
(Agent
)
The agent that created the tag. id
(ID!
)
The date and time that the tag was last used. name
(String!
)
The name of the tag. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
TagBatchDeletePayload# Autogenerated return type of TagBatchDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. jobId
(ID!
)
The ID of the enqueued job.
TagConnection# The connection type for Tag.
Fields# Name Description edges
([TagEdge]
)
A list of edges. nodes
([Tag]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination. totalCount
(Int!
)
The total number of objects returned from the query. totalPageCount
(Int!
)
The total number of pages based on total page count and page size.
TagCreatePayload# Autogenerated return type of TagCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
The created tag.
TagDeletePayload# Autogenerated return type of TagDelete
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. deletedTagId
(ID!
)
The ID of the deleted tag.
TagEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Tag
)
The item at the end of the edge.
TagMergePayload# Autogenerated return type of TagMerge
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
The ID of the enqueued job.
TagUpdatePayload# Autogenerated return type of TagUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation.
Tagged# A tag was added to a conversation.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The tag that was added to the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
Team# A team is a group of zero or more agents.
To find all teams on your account along with the associated agents:
By default team results are sorted by name. To sort by when they were created:
To order teams by largest first:
Fields# Name Description agents
(AgentConnection
)
Lists all agents in the organization. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
createdAt
(DateTime!
)
The date and time that the object was created. description
(String
)
A description of the team. id
(ID!
)
The name of the team. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
TeamChanged# A conversation was reassigned to another team.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. from
(Team
)
The team that the conversation was previously assigned to. id
(ID!
)
The team that the conversation is newly assigned to. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
TeamConnection# The connection type for Team.
Fields# Name Description edges
([TeamEdge]
)
A list of edges. nodes
([Team]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
TeamEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Team
)
The item at the end of the edge.
teamsCreatePayload# Autogenerated return type of teamsCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. team
(Team!
)
Created Team.
teamsDestroyPayload# Autogenerated return type of teamsDestroy
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. team
(Team!
)
Destroyed Team.
teamsUpdatePayload# Autogenerated return type of teamsUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. team
(Team!
)
Updated Team.
Text# A text string.
It can represent either a single line, multiple lines, or an email.
Fields# Name Description content
(String!
)
The text content.
Theme# A theme for a Knowledge Base that is provided out of the box.
To fetch all themes:
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. description
(String
)
A description of the theme. id
(ID!
)
The name of the theme. screenshotUrl
(String
)
The URL of a sample screenshot image for the theme. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
ThemeConnection# The connection type for Theme.
Fields# Name Description edges
([ThemeEdge]
)
A list of edges. nodes
([Theme]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
ThemeEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Theme
)
The item at the end of the edge.
Tool# No description
Fields# ToolConnection# The connection type for Tool.
Fields# Name Description edges
([ToolEdge]
)
A list of edges. nodes
([Tool]
)
A list of nodes. pageInfo
(PageInfo!
)
Information to aid in pagination.
ToolEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Tool
)
The item at the end of the edge.
TwitterConversation# A Groove conversation initiated from Twitter.
To fetch a specific Twitter conversation by ID:
To fetch all possible fields:
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
deletedAt
(DateTime
)
The date and time that the conversation was trashed. drafts
(DraftConnection
)
The current user's draft messages on the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
followers
(AgentConnection
)
Lists all agents that are following the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
twitterId
(String
)
The external Twitter ID of the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Conversation
A Groove conversation is a thread of messages.
TwitterDraft# No description
Fields# Name Description agent
(Agent!
)
The agent who created the draft. assignment
(Assignment
)
The agents and/or teams that are assigned to the draft. body
(String!
)
The draft body. 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.
Interfaces# Name Description Draft
An object with timestamp fields for when it was created and last updated.
TwitterMessage# A message sent to or received from Twitter.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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. twitterId
(String
)
The external Twitter ID of the messsage. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note.
TwoFactorAuthCode# Fields# Name Description code
(String
)
The two factor authentication code. Present only for current user. uri
(String
)
The two factor authentication uri. Present only for current user.
Unsnoozed# A conversation was unsnoozed.
Fields# Name Description by
(Agent
)
The agent that unsnoozed the conversation. createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
Untagged# A tag was removed from a conversation.
Fields# Name Description createdAt
(DateTime!
)
The date and time that the object was created. id
(ID!
)
The tag that was removed from the conversation. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Timestamped
An object with timestamp fields for when it was created and last updated.
UpdatePresencePayload# Autogenerated return type of UpdatePresence
Fields# Name Description accessibleWidgetIds
([ID!]
)
List of widget this user may access. clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input. lastActiveAt
(BigInt
)
The timestamp of when the last user activity was observed. presenceStatus
(PresenceStatusType
)
The updated presence status of the current user. updatedAt
(BigInt
)
The timestamp of when the presence cache was last updated.
UploadPayloadField# No description
UploadPayloadGeneratePayload# Autogenerated return type of UploadPayloadGenerate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation. errors
([UserError!]!
)
Errors related to user input.
UploadPayloadRequest# No description
UrlStruct# A URL.
Fields# Name Description domain
(String
)
The domain of the URL. hash
(String
)
The URL's hash property. path
(String
)
The path of the URL. protocol
(String
)
The URL's protocol. query
(String
)
The query string of the URL. raw
(String!
)
The raw URL.
UserAgent# A characteristic string used to identify visitors.
Fields# Name Description browser
(Browser
)
The browser used by the visitor. device
(Device
)
The device used by the visitor. platform
(Platform
)
The native platform the browser is running on. raw
(String!
)
The raw user agent.
UserError# A user-readable error
Fields# Name Description message
(String!
)
A description of the error. path
([String!]
)
The input value where the error came from. type
(String
)
A name that can be used to identify the error type.
UserIntegration# No description
Fields# Name Description agent
(Agent!
)
The agent the integration is connected to. 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.
Interfaces# Name Description Integration
An object with timestamp fields for when it was created and last updated.
Wallet# No description
Fields# Name Description autorenew
(Boolean
)
The autorenew status of the wallet. autorenewAmount
(Int
)
The autorenew amount of the wallet. autorenewAt
(ISO8601DateTime
)
The autorenew at of the wallet. autorenewSchedule
(Int
)
The autorenew schedule of the wallet. autorenewThreshold
(Int
)
The autorenew threshold of the wallet. autorenewUsedTimes
(Int
)
The times autorenew has been used. autorenewUses
(Int
)
The autorenew allowed uses of the wallet. balance
(Int!
)
The balance of the wallet. canUse
(Boolean!
)
Can use the feature for the wallet. createdAt
(DateTime!
)
The date and time that the object was created. feature
(String!
)
The feature of the wallet. id
(ID!
)
The limit of the wallet. limitType
(String
)
The limit type of the wallet. Can be hard or soft. ownerId
(String!
)
The id of the owner. ownerType
(String!
)
The type of the owner. parent
(Wallet
)
The parent wallet. updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Timestamped
An object with timestamp fields for when it was created and last updated.
WalletConnection# The connection type for Wallet.
Fields# WalletEdge# An edge in a connection.
Fields# Name Description cursor
(String!
)
A cursor for use in pagination. node
(Wallet
)
The item at the end of the edge.
WalletTransactionCreatePayload# Autogenerated return type of WalletTransactionCreate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation.
WalletUpdatePayload# Autogenerated return type of WalletUpdate
Fields# Name Description clientMutationId
(String
)
A unique identifier for the client performing the mutation.
WidgetConversation# A Groove conversation initiated from a Groove Widget.
To fetch a specific Widget conversation by ID:
To fetch all possible fields:
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. browser
(String
)
The browser used by the contact. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(CustomFieldValuesFilter
)
Filter custom field values.
deletedAt
(DateTime
)
The date and time that the conversation was trashed. drafts
(DraftConnection
)
The current user's draft messages on the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
followers
(AgentConnection
)
Lists all agents that are following the conversation. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(AgentFilter
)
The fields by which to filter the results. orderBy
(AgentOrder
)
The field and direction by which to order the results.
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. pageTitle
(String
)
The title of the page that the Widget is embedded into. pageUrl
(String
)
The URL of the page that the Widget is embedded into. platform
(String
)
The operating system used by the contact. referrer
(String
)
The URL of the page that the contact came from. 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. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list. filter
(TagFilter
)
The fields by which to filter the results. orderBy
(TagOrder
)
The field and direction by which to order the results.
updatedAt
(DateTime!
)
The date and time that the object was last updated.
Interfaces# Name Description Node
An object with an ID. Conversation
A Groove conversation is a thread of messages.
WidgetMessage# A message received from a contact using the Widget.
Fields# Name Description attachments
(AttachmentConnection
)
The files attached to the message, if any. Arguments after
(String
)
Returns the elements in the list that come after the specified cursor. before
(String
)
Returns the elements in the list that come before the specified cursor. first
(Int
)
Returns the first n elements from the list. last
(Int
)
Returns the last n elements from the list.
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.
Interfaces# Name Description Node
An object with an ID. Message
An individual message, for example an incoming email, an email reply,
or a note.