# Every sensor on your account
POST
https://api.thermotrack.io/v1/devices
{}
── Response ──────────────────────────────
[ {
"mac_address":
"60:B7:63:34:89:60",
"name":
"Mobile Sensor"
} ]
# Readings of one sensor between two times
POST
https://api.thermotrack.io/v1/thermo_history
{
"mac_address":
"60:B7:63:34:89:60",
"start_ts":
"2026-09-19T06:00:00Z",
"end_ts":
"2026-09-19T18:00:00Z"
}
── Response ──────────────────────────────
[ {
"event_ts":
"2026-09-19T06:00:10Z",
"temperature":
4.2,
"humidity":
68,
"motion":
1,
"battery_percent":
94,
"lat":
1.2897,
"lon":
103.8501
} ]
# The phones collecting your readings
POST
https://api.thermotrack.io/v1/agents
{}
── Response ──────────────────────────────
[ {
"agent_id":
"6f1c…",
"agent_name":
"Driver 1",
"agent_code":
"4821",
"disabled": false,
"create_date":
"2026-09-01"
} ]
# Add a sensor, or an agent, from your own system
POST
https://api.thermotrack.io/v1/device_add
{
"mac_address":
"60:B7:63:34:89:61",
"name":
"Chiller 2"
}
POST
https://api.thermotrack.io/v1/agent_add
{
"agent_name":
"Driver 2",
"agent_code":
"7314"
}
── Response ──────────────────────────────
{
"device_mac":
"60:B7:63:34:89:61",
"device_name":
"Chiller 2"
}