POST

Create Email Design Theme


Developer Preview

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

Creates an email design theme.

The number of email design themes a site can hold is capped by the site's Wix Email Marketing plan. When the site is at its cap, the call fails with OUT_OF_QUOTA. Deleting an email design theme frees a slot, and upgrading the site's plan raises the cap. If the site's plan doesn't include email design themes, the cap is 0, so every call fails with OUT_OF_QUOTA until the plan is upgraded.

If a site downgrades to a plan with a lower cap, its existing email design themes are kept and can still be retrieved, updated, and deleted. Creating email design themes fails until the site has fewer email design themes than the new cap.

To check the cap before creating an email design theme, call Get Account Details and read package.featureAllowances.designThemes.limit. A limit of -1 means unlimited, and a limit of 0 means the site's plan doesn't include email design themes.

Authentication

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

Permission Scopes
Manage Email Marketing
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/emails/themes/v1/email-design-themes

Errors
400Invalid Argument

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.

Event TriggersThis method triggers the following events:
Did this help?