Skip to content

Template Version ​

omnichannel.template_version · child table of Message Template

Fields ​

Every record also has id, created_at and updated_at and parent.

FieldLabelTypeRules
version_noversion nonumberrequired; min 1
subjectsubjecttextmax 500 characters
bodybodylongtextrequired
design_jsondesign jsonjson
variablesvariablesjson
notenotetextmax 300 characters
created_bycreated bylink → core.user

Permissions ​

RoleCan
omnichannel:adminread, create, update, delete, import, export
omnichannel:editorread, create
omnichannel:viewerread

API ​

http
GET    /api/omnichannel/template_version?<field>=<value>&limit=100&offset=0
POST   /api/omnichannel/template_version
GET    /api/omnichannel/template_version/:id
PATCH  /api/omnichannel/template_version/:id
DELETE /api/omnichannel/template_version/:id

Bulk import: GET /api/_import/omnichannel/template_version/template (CSV template), then POST /api/_import/omnichannel/template_version. See REST API.

Edulab Bench developer documentation