With the Account Details API you can retrieve key information about a site's email marketing account, including the account's current status, premium plan details, and email quota for the current period. You can also control how engagement with the site's emails is tracked.
With the Account Details API, you can:
The account status field indicates whether the site can send email marketing campaigns. An account must be ACTIVE before campaigns can be sent.
Possible statuses:
ACTIVE: The account is in good standing. Campaigns can be created and sent.WARNED: The account owner must accept the terms of use in the Wix Email Marketing dashboard before campaigns can be sent.SUSPENDED: The account is suspended. The account owner must complete a compliance questionnaire in the Wix Email Marketing dashboard.SUSPENDED_AUTOLIFT: The account is suspended but may be automatically reinstated after completing a compliance questionnaire in the Wix Email Marketing dashboard.BANNED: The account is suspended. The account owner must complete a more rigorous compliance questionnaire in the Wix Email Marketing dashboard.When the status is not ACTIVE, campaigns cannot be sent. Resolution requires the site owner to visit the Wix Email Marketing dashboard. There is no public API for changing account status.
The quotaPeriod field shows the current billing cycle and how much quota has been used:
quotaPeriod.dateFrom and quotaPeriod.dateTo: the start and end of the current quota period. Quota always resets on a monthly cycle, regardless of whether the site has a monthly or yearly billing plan.quotaPeriod.quotaUsage: campaigns and emails sent so far in this period.package.monthlyQuotaAllocation: the maximum campaigns and emails allowed per quota period. A campaigns value of -1 means unlimited campaigns.Tracking settings control how engagement with the site's emails is measured. They're held in trackingSettings, and trackingSettings.opensTrackingEnabled determines whether email opens are recorded.
Tracking settings apply to the whole site, so they cover every email sent from it, including email marketing campaigns, automation emails, and triggered emails. Each site has its own tracking settings, so changing them for one site doesn't affect any other site. Sites that have never changed the setting have opens tracking enabled.
Disabling opens tracking doesn't turn off click tracking, and it doesn't delete opens already recorded. Campaign statistics keep reporting opens collected before the change.
It's important to note the following points before starting to code:
accountDetails.trackingSettings.ACTIVE, the site owner must resolve the issue in the Wix Email Marketing dashboard. There is no public API for changing account status.ACTIVE, WARNED, SUSPENDED, SUSPENDED_AUTOLIFT, BANNED.dateFrom and dateTo, during which the allocated quota applies.-1 means unlimited.Last updated: 17 September 2026