MessagingTemplateDto

A practice's own text template for SMS and WhatsApp within the 24-hour window. Its body uses the email
templates' Liquid tokens ({{ Client.Name }}, {{ Contact.FirstName }}, {{ Practice.Name }}, {{ Url }} for
the client portal …) and is rendered on the server for the recipient when it is sent.

Properties

Name Type Description
codestring

The template's code

The template's code

namestring

What staff pick it by; unique in the practice

What staff pick it by; unique in the practice

channelsarray of enum

The channels it may be sent on: Sms and/or WhatsApp (as free text, so only within the window)

Sms WhatsApp

The channels it may be sent on: Sms and/or WhatsApp (as free text, so only within the window)

Sms WhatsApp

bodystring

The text with its Liquid tokens, unrendered

The text with its Liquid tokens, unrendered

JSON Example

{
  "code": "string",
  "name": "string",
  "channels": [
    "Sms"
  ],
  "body": "string"
}

Used By Operations

Contained in Schemas