Admin API / Mutations

postChatMessage

Posts a message in a channel with the caller as the author. After the post, the open chat windows get the message, and the members get the channel and mention notifications. A repeat with the same idempotencyKey and input within 24 hours returns the first message and sends no notification again.

Requires a client key with one of these scopes: admin:chat:writeRequires this member role or higher: SELLER
postChatMessage(
  input: PostChatMessageInput!
): PostChatMessagePayload!

Arguments

ArgumentTypeDescription
inputPostChatMessageInput!The message to post and the idempotency key.

Return type

PostChatMessagePayload!