ThingsBoard · Example Payload

Thingsboard Telemetry Post Example

Post a telemetry batch into ThingsBoard against a device.

IoTInternet of ThingsDevice ManagementTelemetryOpen SourceApache 2.0MQTTLwM2MCoAPRule EngineDashboardsEdgeMulti-tenantJavaSpring

Thingsboard Telemetry Post Example is an example object payload from ThingsBoard, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

Raw ↑
{
  "description": "Post a telemetry batch into ThingsBoard against a device.",
  "request": {
    "method": "POST",
    "url": "https://demo.thingsboard.io/api/plugins/telemetry/DEVICE/{deviceId}/timeseries/ANY",
    "headers": {
      "X-Authorization": "Bearer <JWT>",
      "Content-Type": "application/json"
    },
    "body": {
      "ts": 1715000000000,
      "values": {
        "temperature": 22.5,
        "humidity": 41.2,
        "battery": 87
      }
    }
  },
  "response": {
    "status": 200,
    "body": ""
  }
}