CannedReplyCategory
A canned reply category is a grouping for canned replies.
To fetch all canned reply categories in the account:
query CannedReplyCategories{
cannedReplyCategories {
nodes {
createdAt
id
name
updatedAt
}
pageInfo {
hasNextPage
}
}
}
To fetch all canned reply categories with a given search string:
query CannedReplyCategories{
cannedReplyCategories(filter: { keyword: "Billing" }){
nodes {
createdAt
id
name
updatedAt
}
pageInfo {
hasNextPage
}
}
}
type CannedReplyCategory implements Node, Timestamped {
cannedReplies(
after: String
before: String
filter: CannedReplyFilter
first: Int
last: Int
orderBy: CannedReplyOrder
): CannedReplyConnection
createdAt: DateTime!
id: ID!
locked: Boolean!
name: String!
updatedAt: DateTime!
}
Fields
CannedReplyCategory.cannedReplies ● CannedReplyConnection object common
Lists all canned replies.
CannedReplyCategory.cannedReplies.after●Stringscalar commonReturns the elements in the list that come after the specified cursor.
CannedReplyCategory.cannedReplies.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
CannedReplyCategory.cannedReplies.filter ● CannedReplyFilter input common
The fields by which to filter the results.
CannedReplyCategory.cannedReplies.first ● Int scalar common
Returns the first n elements from the list.
CannedReplyCategory.cannedReplies.last ● Int scalar common
Returns the last n elements from the list.
CannedReplyCategory.cannedReplies.orderBy ● CannedReplyOrder input common
The field and direction by which to order the results.
CannedReplyCategory.createdAt ● DateTime! non-null scalar common
The date and time that the object was created.
CannedReplyCategory.id ● ID! non-null scalar common
CannedReplyCategory.locked ● Boolean! non-null scalar common
True if the category is protected; false otherwise.
CannedReplyCategory.name ● String! non-null scalar common
The name of the canned reply category.
CannedReplyCategory.updatedAt ● DateTime! non-null scalar common
The date and time that the object was last updated.
Interfaces
Node interface common
An object with an ID.
Timestamped interface common
An object with timestamp fields for when it was created and last updated.
Member of
CannedReply object ● CannedReplyCategoryConnection object ● CannedReplyCategoryEdge object ● StarredCannedReply object