POST

Preview Email Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Renders the email content of an automation's send email action as HTML, without sending it.

Placeholders are replaced only by the values in customPayload. When it's omitted, no values are available, so every placeholder is left unresolved - visible as its own reference in the rendered content, or dropped when removeUnresolvedPlaceholders is true.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Email Marketing
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/emails-automations/v1/automations/{automationId}/email-actions/{actionId}/email-content/preview

Errors
400Invalid Argument

There are 2 errors with this status code.

404Not Found

There is 1 error with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?