Message
A message in a channel, thread or on a record.
A message in a channel, thread or on a record.
The Message object comes back in the data field of REST API and MCP tool responses.
Hover over an underlined field type to see the related object or glossary without leaving the page. Click the type to open its page.
idstring
createdAtdatetime
contentUpdatedAtdatetimeoptional
authorGroupColorColoroptionalconversationPayloadany
callIdstring | nulloptional
messageTypePayloaddepends on the variant
replyMessageIdstring | null
readByTotalCountnumberoptional
contentrich text[]optional
cachedReactionsByEmojiRecord<string, number> | nulloptional
myReactionEmojisstring[]optional
Variants messageType
Some fields depend on the value of MessageType. Below, only what changes.
entity-message
messageTypePayloadobject
3 fields inside
thinking
messageTypePayloadobject
2 fields inside
tool-call
messageTypePayloadobject
12 fields inside
toolNamestring
actionTextstringoptional
requestingEntityIdstring | nulloptional
requestingEntityNickstring | nulloptional
triggerMessageIdstring | nulloptional
toolParametersRecord<string, any>
toolResultanyoptional
errorMessagestring | nulloptional
usageobject | nulloptional
3 fields inside
inputTokensnumberoptional
outputTokensnumberoptional
totalTokensnumberoptional
resultLinksobject[]optional
call
messageTypePayloadobject
3 fields inside
text-to-speech
messageTypePayloadobject
4 fields inside
callIdstring
contentstring
startedAtdatetime
finishedAtdatetime
How to read the fields
Name is the JSON key.
An underlined Type is another object or glossary. The preview opens on hover and has the same links itself, so you can drill down.
An Optional field may be missing. A field with | null will be present but may be empty.
Variants mean that some fields depend on a glossary value, for example the resource type.
You'll find the full list, with groups and search, in the API objects summary.