CreateChannelInput

FieldTypeRequiredDescription
platformChannelPlatform!YesPlatform connected through the caller's Slack connection; Slack must already be connected.
nameStringNoDisplay name, 1-255 characters.
agentIdString!YesAn agent returned by channelAgents for the same runtime target.
respondToChannelRespondToNoDefault mentions.
allowedSlackChannelIds[String!]NoSlack channel IDs. Overlap with another channel in the same workspace is rejected with resource-already-exists. At most 250 IDs; empty means every Slack channel the bot is in. A preview_branch target needs at least one.
welcomeMessageStringNoAt most 4000 characters; null clears.
errorMessageStringNoAt most 4000 characters; null clears.
maxResponseTokensIntNo1-65536; null clears.
runtimeTargetKindRuntimeTargetKindNoDefault main_branch.
targetEnvironmentIdIDNoRequired when runtimeTargetKind is environment.
targetBranchIdIDNoRequired when runtimeTargetKind is preview_branch.

All GraphQL types · Operations