POST

Send Test Email


Developer Preview

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

Sends the action's email to a single recipient, so it can be checked in a real inbox.

Placeholders are replaced only by the values in customPayload, as in Preview Email Content. One test email is sent, in language when given and in the site's primary language otherwise.

The test needs an email content that the site owns: a preinstalled automation still sharing its template's content has to be updated once before it can be tested. Reading and previewing it work either way.

There's a rate limit on test emails per action, to prevent excessive sends.

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/send-test-email

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.

429Resource Exhausted

There is 1 error with this status code.

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

Did this help?