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

Parameters: send_message
NameTypeDescription
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
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"}'
Python
result = client.call("taxdome", "send_message", {"account_id":"account_8c41d2","body":"body"})
Node.js
const result = await cotlet.call('taxdome', 'send_message', {"account_id":"account_8c41d2","body":"body"});
CLI
cotlet call taxdome send_message --data '{"account_id":"account_8c41d2","body":"body"}'

Example response

JSON

{
  "message_id": "msg_6120",
  "account_id": "acc_4f21",
  "status": "sent",
  "sent_at": "2026-10-14T09:00:00+02:00"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.