Message client
Send a message to a client in a chat, now or at a set time.
POST https://cotlet.dev/api/v1/taxdome/accounts/{account_id}/messages
write Confirm
Sends a message in the account's chat on its Communication tab; the message can be scheduled with send_at. Needs a login allowed to open chats for the account. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| account_id string required | string | Account ID from list_accounts. |
| body string required | string | Message text. |
| send_at datetime | datetime | Schedule for later instead of sending now. |
Request
curl -X POST https://cotlet.dev/api/v1/taxdome/accounts/account_8c41d2/messages \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"body"}' result = client.call("taxdome", "send_message", {"account_id":"account_8c41d2","body":"body"}) const result = await cotlet.call('taxdome', 'send_message', {"account_id":"account_8c41d2","body":"body"}); cotlet call taxdome send_message --data '{"account_id":"account_8c41d2","body":"body"}' Example response
{
"message_id": "msg_6120",
"account_id": "acc_4f21",
"status": "sent",
"sent_at": "2026-10-14T09:00:00+02:00"
}