Actions42
- Agent Actions
- Channel Actions
- Chat Actions
- Intention Actions
- Interaction Actions
- Training Actions
- Workspace Actions
Chat → Send Message
AI-generatedSummary
Send a new message to a chat (POST /v2/chat/{chatId}/send-message)
Inputs
- chatId (required) — The ID of the chat to send the message to
- messageText (required) — The message content to send
- replyMessageId — ID of a message to reply to (optional)
Output shape
API response containing the sent message details
Returned data is the result of POST /v2/chat/{chatId}/send-message with body { message, replyMessageId? }
Examples
Example 1: Post a standalone message to a chat
Provide chatId and messageText; omit replyMessageId
Example 2: Reply to a specific message
Provide chatId, messageText, and replyMessageId of the target message