> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: notify(body: string, channels: Array, options: NotificationOptions) # Method package: wixCrmBackend # Method menu location: wixCrmBackend --> Notifications --> notify # Method Link: https://dev.wix.com/docs/velo/apis/wix-crm-backend/notifications/notify.md # Method Description: Sends a notification. The `notify()` function sends a [notification](https://support.wix.com/en/article/about-site-notifications) to the specified site contributors on the specified channels. Use the `channels` parameter to specify which channels to send the notification to. Use the `recipients` property of the `options` parameter to specify which site contributors to send the notification to. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Send a notification to the site owner's Dashboard ```javascript import { Permissions, webMethod } from 'wix-web-module'; import { notifications } from 'wix-crm-backend'; export const notifyOwnerOnDashboard = webMethod(Permissions.Anyone, () => { notifications.notify( "Notification body", ["Dashboard"], { "title": "Notification Title", "actionTitle": "Click this!", "actionTarget": { "url": "http://mysite.com/somepage" }, "recipients": { "role": "Owner" } } ); }); ``` ## Send a notification to the site owner on multiple channels (browser and mobile) ```javascript import { Permissions, webMethod } from 'wix-web-module'; import { notifications } from 'wix-crm-backend'; export const notifyMultipleChannels = webMethod(Permissions.Anyone, () => { notifications.notify( "Notification body", ["Browser", "Mobile"], { "title": "Notification Title", "actionTitle": "Click this!", "actionTarget": { "url": "http://mysite.com/somepage" }, "recipients": { "role": "Owner" } } ); }); ``` ## Send a notification to all site contributors on mobile ```javascript import { Permissions, webMethod } from 'wix-web-module'; import { notifications } from 'wix-crm-backend'; export const notifySiteContributors = webMethod(Permissions.Anyone, () => { notifications.notify( "Notification body", ["Mobile"], { "title": "Notification Title", "actionTitle": "Click this!", "actionTarget": {"url": "http://mysite.com/somepage"}, "recipients": { "role": "All_Contributors"} } ); }); ``` ---