Chatwoot icon

Chatwoot

Interact with Chatwoot API to manage conversations, messages, contacts, and more

Actions206

Message → Create

AI-generated

Summary

Send a new message to a specified Chatwoot conversation.

Inputs

  • Conversation ID (required) — The ID of the conversation to send the message to.
  • Content (required) — The text content of the message to send.
  • Options — Optional parameters to customize the message, including content type (text, article, cards, form, input_email, input_select), message direction (outgoing or incoming), whether it is a private note, custom content attributes as a JSON object, and WhatsApp template message parameters as a JSON object.

Output shape

A single JSON object representing the created message as returned by the Chatwoot API, including its content, type, direction, and other metadata.

The response includes all details from the created message. Optional fields in 'Options' can affect message appearance and metadata. The operation requires a valid conversation ID and message content. Errors are reported if required inputs are missing or if the API request fails.

Examples

Example 1: Send a standard outgoing text message to conversation ID 1234.

Set Conversation ID to 1234, Content to the message text, and leave Options at default.

Example 2: Send a private note with custom content attributes.

Set Conversation ID and Content, set 'Private Note' option to true, and provide a JSON object in 'Content Attributes' for additional data.

Links

Discussion