--- title: "Send Push Notifications to Web Apps" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/push-notifications/send-notifications/ description: "This page describes the method to send out remote notifications to end-users from your Java application with sample code snippets." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Send push notifications - API" url: /en/api/code-reference/cloud-scale/push-notifications/web/send-web-push-notifications/#SendWebNotifications - name: "Send push notifications" url: /en/cloud-scale/help/push-notifications/introduction --- # Push Notifications [Catalyst Push notifications](https://docs.catalyst.zoho.com/en/cloud-scale/help/push-notifications/introduction) enables you to send remote notifications to the users of your application, even when the app is not actively running on the user device. You can send push notifications to a specific list of target users. You can include alerts, updates, or promotional content for the user to engage with your application. Before you send push notifications, you must enable it for your web app when the user allows it. You can do this by implementing [this code snippet](https://docs.catalyst.zoho.com/en/api/code-reference/cloud-scale/push-notifications/web/enable-web-push-notifications/#EnableWebNotifications) in your web client. You can also access this code from the _Push Notifications_ section in your Catalyst remote console. You must ensure that you include the [web initialization script](https://docs.catalyst.zoho.com/en/sdk/web/v4/overview). ### Send Push Notifications to Web Apps Catalyst enables you to send push notifications to **50 users** in a single function call. You can add the [user IDs](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) of all users to be notified in an array as shown below. You must then pass the array to the `notifyUser()` method, along with the message string to include in the notification. This string can be plain text, HTML, or a JSON object to be parsed. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.notifications.ZCWebNotification; ``` ```java Long[] userList = new Long[5]; //Include the user IDs of all users userList[0] = 1234556789098L; userList[1] = 8704590865890L; userList[2] = 1452788189992L; userList[3] = 5344535567809L; userList[4] = 6568785589800L; ZCWebNotification.getInstance().notifyUser("Hi there! The task you scheduled has been completed.", userList); //Pass the array with the message string ``` You can also send the notifications to users by including their email addresses instead of their User IDs. You must add the email addresses in a String array, and pass it to `notifyUser()` along with the message string in a similar way. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.notifications.ZCWebNotification; ``` ```java String[] userEmailList = new String[3]; //Include the email addresses of the users userEmailList[0] = "emma@zylker.com"; userEmailList[1] = "p.boyle@zylker.com"; userEmailList[2] = "noel@zylker.com"; ZCWebNotification.getInstance().notifyUser("Hi there! The task you scheduled has been completed.", userEmailList); //Pass the array with the message string ```