Template Themes API
A template theme is a reusable set of email design settings, such as colors, fonts, spacing and button styles. Use this API to create and manage themes, apply a theme to one or more emails, and see which emails use it.
Enable Template Themes in your plugin settings and authenticate requests with a plugin token that has the API role. You can use this API without opening the editor. Unlinking an email from a theme is also available when Template Themes is disabled.
Themes can be shared across your plugin or separated by brand, customer or another value using the plugin's keyTemplate setting. If that setting contains placeholders, supply their values in the Es-Plugin-Ui-Data header. See that header's description for details and an example. Send the data for the operation itself in the request body where one is required.