Upload a Set of Timestamped Data

You can update a single Datastream with a set of timestamped data points. This can be helpful when you don't stream the data in real-time, but instead, collect it on the device and need to send it periodically as a dataset.
For example, your device can be offline most of the time, but connect periodically and upload a set of data points.
LIMIT: You can send a max of 10,000 data points per day per device. No matter if you split it into multiple sets or send all data once.
This limit can vary based on the plan you are using.

Timestamp requirements

When sending the data you would need to provide a timestamp for each value and send the timestamp and value as a single entry, like this: [[timestamp, value]]. Where timestamp is the time difference between the current time and midnight, January 1, 1970 UTC measured in milliseconds.
The timestamp is the same as Unix epoch or Unix timestamp multiplied by 1000ms.
LIMIT: timestamps could be only one month in the past. Older timestamps won't be accepted.

Entry Format

The single entry format: [[timestamp, value]] The full body with multiple entries:[[timestamp1, value1], [timestamp2, value2]]
Content-Type the header is mandatory and should be set to application/json
Upload a Set Of Datapoints With Timestamps

cURL example:

curl -X POST -H 'Content-Type: application/json' -d '[[1650378744000,0]]' -i ''