Hi~ I am confused to hwid and push token on registering. Which one is the correct one to designate a device? Which mean that if I want to send message to one specific device, can I use hwid otherwise push token? I would like to know the definition both of them. Thanks in advance.

asked 12 Oct '16, 10:39
Alticast's gravatar image



Please refer to the /registerDevice request description by following the link provided below:


Generally, a push token is a unique identifier generated by APNS/GCM in order to securely rote pushes to the particular device.

On the other hand, HWID is unique string used to identify the device (IDFV/IDFA on iOS and "Android Advertising ID" or ANDROID_ID on Android).

You can store push tokens and hwids on your server and use the "devices" section of /createMessage request. You should specify tokens or hwids to send push notifications. Not more than 1000 tokens/hwids could be used in an array. If "devices" parameter is set, message will only be delivered to the devices in the list. You can find more useful information in our guide by following that link:


Also, you can use Tags feature. Please note that 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 13 Oct '16, 12:34
novchinnikov's gravatar image



It's a helpful...Thanks~

(13 Oct '16, 13:04) Alticast Alticast'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](http://url.com/ "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: 12 Oct '16, 10:39

question was seen: 2,405 times

last updated: 13 Oct '16, 13:04