List text templates
list_site_message_templates
Lists a site's text templates, built-in and its own, with each one's text and review state.
Scopeconfig:readRead only
Every site starts with the built-in templates, and custom marks the ones it added of its own. Each has its key, label, text with {{placeholders}}, its fields with examples, and its state: initial (not sent for review yet), pending (Sent is reviewing it), approved (it can send real texts), rejected, paused or disabled. reason carries why Sent rejected or paused it, or why sending it for review failed, and canEdit, canSubmit and canDelete say what can be done with it now. See Templates.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |