With the Campaign API you can manage and publish email marketing campaigns that have already been created by a Wix user.
With the Campaign API you can:
To create a campaign, a Wix user must either design a template from scratch or use one of the pre-made templates available in the Wix dashboard. The API does not support campaign creation.
After the campaign is created, you can send a test email to preview how it will appear in an inbox. We strongly recommend calling the Send Test method only a few times in a row. There's a rate limit to prevent abuse of the method.
To publish a campaign, sender details need to be set up. You can only publish the campaign to come from the default sender. Therefore, whenever you want to publish a different campaign, the appropriate sender must be set as the default. To determine which email address will be used as the "From" address, call Identify Sender Address. Campaigns can only be sent to Wix site contacts.
It's possible to schedule a campaign when publishing it. You can schedule the campaign no less than 30 minutes before the sending time. A Wix user needs to upgrade the plan to schedule the campaign.
When a campaign is published, you'll also receive a URL for the campaign's landing page, which can be shared on social media.
A campaign can also be published without sending emails. In this case, only the campaign landing page URL will be provided.
A Wix user can be blocked from using Wix Email Marketing if they don't comply with the Wix Email Marketing Terms of Use.