Properties
| Name | Type | Description |
|---|---|---|
| subject | string | Rendered subject line with Liquid tokens resolved. |
Rendered subject line with Liquid tokens resolved. | ||
| bodyHtml | string | Rendered body HTML with header/footer/theme applied and Liquid tokens resolved. |
Rendered body HTML with header/footer/theme applied and Liquid tokens resolved. | ||
| toRecipients | array of EmailPreviewRecipientDto | Resolved To recipients with names and email addresses. |
Resolved To recipients with names and email addresses. | ||
| ccRecipients | array of EmailPreviewRecipientDto | Resolved CC recipients with names and email addresses. |
Resolved CC recipients with names and email addresses. | ||
| bccRecipients | array of EmailPreviewRecipientDto | Resolved BCC recipients with names and email addresses. |
Resolved BCC recipients with names and email addresses. | ||
| fromConfigCode | string | Suggested From connection (email config code): the client manager match if one applies, else the tenant default. |
Suggested From connection (email config code): the client manager match if one applies, else the tenant default. | ||
| unresolvedTokens | array of string | Names of the placeholders that resolved to nothing, so the caller can warn about them. |
Names of the placeholders that resolved to nothing, so the caller can warn about them. | ||
| attachments | array of WorkflowStepEmailPreviewAttachmentDto | Pre-specified practice document attachments from the step configuration. |
Pre-specified practice document attachments from the step configuration. | ||
| documentRequestCode | string | For a Document Request step, the code of the request the step sends (the Draft the preview |
For a Document Request step, the code of the request the step sends (the Draft the preview | ||
| documentRequestItems | array of DocumentRequestStepItemDto | For a Document Request step, the items on that request in order. Empty for a request without |
For a Document Request step, the items on that request in order. Empty for a request without | ||
JSON Example
{
"subject": "string",
"bodyHtml": "string",
"toRecipients": [
{
"name": "...",
"email": "..."
}
],
"ccRecipients": [
{
"name": "...",
"email": "..."
}
],
"bccRecipients": [
{
"name": "...",
"email": "..."
}
]
}
Used By Operations
-
POST
Preview Document Request Email
/tenants/{tenant}/clients/{client}/documentrequest/{code}/open/preview
-
GET
Preview Items Email
/tenants/{tenant}/clients/{client}/documentrequest/{code}/notifications/preview
-
POST
Preview Approval Email
/tenants/{tenant}/clients/{client}/clientdocument/request-approval/preview
-
GET
Preview Engagement Email
/tenants/{tenant}/engagements/{code}/email/preview
-
GET
Preview Workflow Step Email
/tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}/preview
-
POST
Preview Step Email
/tenants/{tenant}/workflows/preview-step-email