tools.ozone.communication.createTemplate
#main
Administrative action to create a new, re-usable communication (email for now) template.
Input
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| name | string | - | ✅ | Name of the template. |
| contentMarkdown | string | - | ✅ | Content of the template, markdown supported, can contain variable placeholders. |
| subject | string | - | ✅ | Subject of the message, used in emails. |
| lang | string (language) | - | ❌ | Message language. |
| createdBy | string (did) | - | ❌ | DID of the user who is creating the template. |
Output
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| ref | tools.ozone.communication.defs#templateView | - | ✅ | - |