I have a simple project using an Electron. The code basically sends some variables to a server using a webhook and sleeps for a set interval (to save battery power). The server needs to know which device is posting the data, and I know that the device ID is included in the webhook’s default data. However, the ID string itself is very long, which is not the best to optimize data usage. I am not sure if the device ID for the default data is appended to the webhook by the cloud or by the device, hence using up data. If that were the case, I would assign a custom (shorter) ID to my devices which would be sent in the webhook and then use a lookup table in my server to match it to the real (Particle) device ID.
In short, does the “default data” in the webhooks originate from the device or from the cloud?
Sorry if this was already mentioned in the docs or in the forums, I did not find it anywhere.