Admin API / Mutations

createChatChannel

Creates a channel in the last position of its section. The slug is the name's ASCII letters and digits in lower case; a slug that a store tab or another channel of the store has, deleted channels included, gets - and 3 random characters. A repeat with the same idempotencyKey and input within 24 hours returns the first result, or ChatChannelNotFoundError when that channel was deleted. Requires the ADMIN role or higher.

Requires a client key with one of these scopes: admin:chat:writeRequires this member role or higher: ADMIN
createChatChannel(
  input: CreateChatChannelInput!
): CreateChatChannelPayload!

Arguments

ArgumentTypeDescription
inputCreateChatChannelInput!The channel to create and the idempotency key.

Return type

CreateChatChannelPayload!