Chat icon

Chat

Interact with the Chat API

Actions253

Chat Room → Send Message

AI-generated

Summary

Send a message to a chat room.

Inputs

  • accountId (required) — Select the account to use.
  • chatRoomId (required) — Select the chat room to use.
  • content (required) — Message content to send.
  • replyToChatRoomMessageId — Message to reply to (will set in_reply_to in content attributes).
  • messageAdditionalFields — Additional fields for the message.

Output shape

object

The operation returns the created message resource from the Approach/Chatwoot API (fields such as id, content, created_at, etc.)

Examples

Example 1: Send a simple message

Provide Account, Chat Room, and Content. Leave optional fields empty.

Example 2: Reply to an existing message

Also set Reply To with the ID of the message you want to reply to.

Example 3: Deduplication using Echo ID

In Additional Fields set Echo ID to a unique string to prevent duplicate sends.

Links

Discussion