Space Docs
Domain Model

Support Message

Fields

FieldTypeRequiredDefaultDescription
idstringYesId
workspaceIdstringYesID of the associated workspace
ticketIdunknownYesID of the associated ticket
internalThreadIdunknownYesID of the associated internal thread
directionenum(inbound, outbound, system)YesDirection
channelenum(portal, email, sms, chat, phone, api, internal)YesChannel
visibilityenum(public, internal, draft)YesVisibility
authorTypeenum(contact, user, ai, system)YesAuthor type
authorContactIdunknownYesID of the associated author contact
authorUserIdunknownYesID of the associated author user
bodyMarkdownstringYesBody markdown
bodyHtmlunknownYesBody html
deliveryStatusunknownYesDelivery status
deliveryErrorunknownYesDelivery error
externalMessageIdunknownYesID of the associated external message
inReplyToMessageIdunknownYesID of the associated in reply to message
aiRunMetadataunknownYesAi run metadata
editedAtunknownYesEdited at
createdAtstring.date-timeYesCreated at

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
ticketIdunknownNoID of the associated ticket
internalThreadIdunknownNoID of the associated internal thread
visibilityenum(public, internal, draft)NoVisibility
bodyMarkdownstringYesBody markdown
inReplyToMessageIdunknownNoID of the associated in reply to message

On this page