add-transaction-comment
Post a comment on a transaction as the signed-in user, starting the transaction's conversation if it has none. Every call adds a new comment, so don't repeat a call that succeeded. Returns conversation, totalCount, addedMessage when the conversation already existed, and messages: the latest 20 comments, oldest first, which limit, createdAfter and createdBefore can change. Requires the company:documents:write scope; writes are rate-limited per user. Use get-transaction-conversation to read without posting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The comment to post, 1 to 4,000 characters. | |
| limit | No | Most comments to return after posting, 1 to 100 (default 20). | |
| companyId | Yes | Company ID, as returned by list-companies | |
| createdAfter | No | ISO 8601 date-time, such as 2026-10-21T09:00:00Z. Returns the earliest comments created after it instead of the latest. Cannot be combined with createdBefore. | |
| createdBefore | No | ISO 8601 date-time. Returns only comments created before it, which leaves out the one just posted. Cannot be combined with createdAfter. | |
| transactionId | Yes | Numeric acDocumentId of the transaction, as returned by search-transactions (transaction.acDocument.id in Websome) |