ChatWoot Client icon

ChatWoot Client

Interact with ChatWoot Client APIs

Messages API → Create a Message

AI-generated

Summary

Create a new message in a specified conversation for a given contact within an inbox in ChatWoot.

Inputs

  • Contact Identifier Name or ID (required) — Specify the contact's identifier or ID to associate the new message with.
  • Conversation Name or ID (required) — Specify the conversation's name or ID where the message will be created.
  • Content — Optional content text for the message to send in the conversation.
  • Echo ID — Optional temporary identifier that will be passed back via websockets to track the message.

Output shape

a single record containing the newly created message's details as returned by the ChatWoot API

The operation sends a POST request to create the message using the specified contact identifier and conversation ID within the authenticated inbox context. Optional content and echo ID can be included in the request body. The output is the response from ChatWoot's API representing the created message.

Examples

Example 1: Send a new text message

Set 'Contact Identifier Name or ID' and 'Conversation Name or ID' to the target contact and conversation, then provide the message text under 'Content'.

Links

Discussion