Reply to a chat
Send a text message to the client in a chat you accepted.
POST https://cotlet.dev/api/v1/jivochat/chats/{chat_id}/replies
write Confirm
reply_to_chat sends one message under your agent name in a chat in My dialogs. The client sees it at once. It sends text only: no files or photos. A chat in the Inbox must be accepted first with accept_chat. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| chat_id string required | string | Chat ID from list_chats. |
| text string required | string | Message text, plain text. |
Request
curl -X POST https://cotlet.dev/api/v1/jivochat/chats/6f1a2b3c/replies \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Yes, it is in stock and ships within one business day."}' result = client.call("jivochat", "reply_to_chat", {"chat_id":"6f1a2b3c","text":"Yes, it is in stock and ships within one business day."}) const result = await cotlet.call('jivochat', 'reply_to_chat', {"chat_id":"6f1a2b3c","text":"Yes, it is in stock and ships within one business day."}); cotlet call jivochat reply_to_chat --data '{"chat_id":"6f1a2b3c","text":"Yes, it is in stock and ships within one business day."}' Example response
{
"chat_id": "6f1a2b3c",
"message_id": "m_5d21",
"status": "sent",
"sent_at": "2026-10-19T09:44:10Z"
}