ThingSpeak · Example Payload

Thingspeak Update Channel Example

IoTInternet of ThingsAnalyticsTime SeriesMQTTMATLABSensorsTelemetry

Thingspeak Update Channel Example is an example object payload from ThingSpeak, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.thingspeak.com/update.json",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": "api_key=YOUR_WRITE_API_KEY&field1=23.5&field2=45.2&status=ok&lat=37.7749&long=-122.4194"
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "channel_id": 12345,
      "created_at": "2026-05-25T14:32:17Z",
      "entry_id": 8421,
      "field1": "23.5",
      "field2": "45.2",
      "latitude": "37.7749",
      "longitude": "-122.4194",
      "elevation": null,
      "status": "ok"
    }
  }
}