What would happen if I call /createMessage with over 1,000 devices?


1 comment

  • Avatar
    Nikita Ovchinnikov


    Please note that 1,000 devices in array is the maximum amount of devices that will be processed accurately.

    Correct handling above a thousand devices in the array is not guaranteed, and for this reason it is highly not recommended.

    Also, I kindly ask you to note that you can use Tags feature. Since raw push tokens tend to expire from time to time, and hwid's can change in some rare occasions, so it is not a reliable way to target your users. That is why I recommend using Tags feature instead. For instance, you can create a Tag "username" or "deviceID" and use it for targeting. Please note that Tags and Filters can be used without Remote API in your Pushwoosh Control Panel.

    When a user logs in on a device and verifies his/her username, you set a Tag with this username by calling the setTags method in your app. That's all! Now you know that this device belongs to "john_smith" and you can send a message to it with one simple parameter


    The user will receive his notification. Moreover, if "john_smith" has two devices where he is logged in, they will be both tagged as "john_smith", and he will receive a push notification on both of them. You can also send it to several users at once:


    In addition to this, you can create other Tags and let your users subscribe to them. You can find more information on Tags and Segmentation by following that link:


    Regards, Nikita.

Please sign in to leave a comment.