To get a device key please follow the steps below:
Login to Wia dashboard and click the space that contains your desired device.
From the menu on the left side click "Things".
Select your device.
Click Settings in the top bar.
Your device secret key is displayed in red here.
Click here to read more about wia Rest API documentation.