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.

 

The Notifications API provides functionality for sending notifications. Notifications are messages that are sent to the site dashboard, Wix app, or browser of your site's contributors.

To learn more about notifications, see About Your Dashboard Notifications.

Permissions information

Functions in the Notifications 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.

Before you begin

To use the Notifications API, import notifications from the wix-notifications.v2 module:

Copy
Was this helpful?
Yes
No