Make sure your device is connected to your SmartThings account. Obtain an API key by following these steps. Once you're signed in on that page, go to https://api ...