Devices
Send Device Data
Send data to a specific Device within your profile
post/device/{deviceID}/data
Request
- Base URLhttps://api.us-e1.tago.io
- AuthAPI key in header Device-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"variable": "location",
"location": {
"lat": 35.770723,
"lng": -78.677328
},
"value": "TagoIO Headquarters",
"time": "2023-12-01T12:34:56.000Z",
"unit": "%",
"metadata": {
"color": "red",
"icon": "car"
}
}Response
Sending data
Example response
{
"result": "2 Data Added",
"status": true
}Changes
No recorded changes to this operation across all 2 revisions of this API.