get-transaction-conversation
Read the comments on one transaction, oldest first. Returns conversation (read and answered state, last message times) and messages, each with text, createdAt and a sender showing whether an Osome agent or bot wrote it. Without filters you get the latest 50; to page back, pass the oldest createdAt you have as createdBefore. A transaction with no comments returns conversation null. Use add-transaction-comment to post, and search-transactions to find the transactionId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>",
"transactionId": "<transactionId>"
},
"name": "get-transaction-conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most comments to return, 1 to 100 (default 50). When set, totalCount counts every matching comment instead of only those returned. | |
| 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 the latest comments created before it; pass the oldest createdAt you have to page back. Cannot be combined with createdAfter. | |
| transactionId | Yes | Numeric acDocumentId of the transaction, as returned by search-transactions (transaction.acDocument.id in Websome) |