AutomatedEmailTemplates

Reset to default: deletes the clinic's wording, so the stock email goes out again.

Changed on
delete/templates/automated-emails/{type}

Request

Path parameters

typestring required

Response

OK

typestring required
namestring required
descriptionstring required
defaultSubjectstring required
defaultBodystring required
variablesstring[] required

The tokens this email can use, in the order the editor offers them.

blockVariablesstring[] required

Tokens that must sit on a line of their own in the body (a list, a button).

emailSubjectstring nullable
emailBodystring nullable
customisedboolean

True when the clinic has saved wording for this email.

updatedAtstring date-time nullable

Changes