Space Docs
Domain Model

Support Message

Fields

FieldTypeRequiredDefaultDescription
idstringYes—Id
workspaceIdstringYes—ID of the associated workspace
ticketIdunknownYes—ID of the associated ticket
internalThreadIdunknownYes—ID of the associated internal thread
directionenum(inbound, outbound, system)Yes—Direction
channelenum(portal, email, sms, chat, phone, api, internal)Yes—Channel
visibilityenum(public, internal, draft)Yes—Visibility
authorTypeenum(contact, user, ai, system)Yes—Author type
authorContactIdunknownYes—ID of the associated author contact
authorUserIdunknownYes—ID of the associated author user
bodyMarkdownstringYes—Body markdown
bodyHtmlstring,nullYes—Body html
deliveryStatusunknownYes—Delivery status
deliveryErrorstring,nullYes—Delivery error
externalMessageIdstring,nullYes—ID of the associated external message
inReplyToMessageIdunknownYes—ID of the associated in reply to message
aiRunMetadataunknownYes—Ai run metadata
editedAtunknownYes—Edited at
createdAtstring.date-timeYes—Created at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
ticketIdunknownNo—ID of the associated ticket
internalThreadIdunknownNo—ID of the associated internal thread
visibilityenum(public, internal, draft)No—Visibility
bodyMarkdownstringYes—Body markdown
inReplyToMessageIdunknownNo—ID of the associated in reply to message

On this page