Â
Â
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.
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.
To use the Notifications API, import notifications
from the wix-notifications.v2
module: