Search.../

Introduction

Developer Preview
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.

 

Note: This module is universal. Functions in this module can run on both the backend and frontend, unless specified otherwise.

The Campaigns API provides functionality for managing your email marketing campaigns.

With the Campaigns API you can:

To use the Campaigns API, import campaigns from the wix-email-marketing.v2 module:

import { campaigns } from `wix-email-marketing.v2`;
js | Copy Code

Permissions information

Functions in the Campaign API are restricted and only run if you elevate permissions using the wix-auth elevate() function.

Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.

Was this helpful?