Space Docs
Domain Model

Message Template

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
namestringYes—Name
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)No—Provider
workspaceIdstringNo—ID of the associated workspace
subjectTemplatestringNo—Subject template
bodyTemplatestringYes—Body template
variableSchemaobjectNo—Variable schema
categorystringYes—Category
enabledbooleanYes—Enabled
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
namestringYes—Name
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)No—Provider
workspaceIdstringNo—ID of the associated workspace
subjectTemplatestringNo—Subject template
bodyTemplatestringYes—Body template
variableSchemaobjectNo—Variable schema
categorystringYes—Category
enabledbooleanYestrueEnabled
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
namestringNo—Name
providerenum(telegram, whatsapp, discord, slack, microsoft_teams, ai_agent, email)No—Provider
subjectTemplatestringNo—Subject template
bodyTemplatestringNo—Body template
variableSchemaobjectNo—Variable schema
categorystringNo—Category
enabledbooleanNo—Enabled

On this page