What is a Device token?
Push token (device token) - is a unique key for the app-device combination which is issued by the Apple or Google push notification gateways. It allows gateways and push notification providers to route messages and ensure the notification is delivered only to the unique app-device combination for which it is intended.
iOS device push tokens are strings with 64 hexadecimal symbols. Push token example:
Make sure that iOS push tokens you use when targeting specific devices in your API requests are in lower case.
Android device push tokens can differ in length (usually below 255 characters), and usually start with APA… Push token example:
Using raw device tokens for targeting specific devices is not the most reliable way because GCM push tokens tend to change from time to time, and it’s hard to tell how often it occurs.