When you download the app, it registers with Parse, which generates a registration ID for your device. When you use the CLI, it goes to Parse with the key you received from the app and queries for your installation, sending the notification to that specific installation.