folderCreate
Creates an Inbox folder.
mutation(
$name: String!,
$description: String,
$matchType: FolderMatchTypes!,
$state: FolderState!,
$position: Int,
$displayCountWhenInactive: Boolean,
$hideIfZeroConversations: Boolean,
$permittedAgentIds: [ID!],
$permittedTeamIds: [ID!],
$channelIds: [ID!],
$conditions: [ConditionInput!]!
) {
folderCreate(
input: {
name: $name,
description: $description,
matchType: $matchType,
state: $state,
position: $position,
displayCountWhenInactive: $displayCountWhenInactive,
hideIfZeroConversations: $hideIfZeroConversations,
permittedAgentIds: $permittedAgentIds,
permittedTeamIds: $permittedTeamIds,
channelIds: $channelIds,
conditions: $conditions
}
) {
folder {
id
name
}
errors {
path
message
}
}
}
folderCreate(
input: FolderCreateInput!
): FolderCreatePayload
Arguments
folderCreate.input ● FolderCreateInput! non-null input common
Parameters for FolderCreate
Type
FolderCreatePayload object common
Autogenerated return type of FolderCreate