The /createMessage documentation ( says to set "Not more than 1000 tokens/hwids in an array" in the "devices" property in the request. But what exactly would happen if I do send more than 1,000 tokens/hwids?

Our Ruby on Rails app had attempted to send nearly 9,000 (!) devices and resulted in an error. Of course we'll be splitting the request into batches going forward, but I checked the Push history it looks like many devices got the notification. There's no log of the response error message for me to check and I'm afraid to try it again.

Anyone know what would happen if you do this?


asked 04 Nov '16, 17:00
parrotfish's gravatar image



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.

permanent link
answered 07 Nov '16, 07:15
novchinnikov's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Nov '16, 17:00

question was seen: 664 times

last updated: 07 Nov '16, 07:15