Create a new channel with HTTP POST
POST
https://api.thingspeak.com/channels.
<format>
Name | Description |
---|---|
|
(Required) Format for the HTTP response, specified as
|
Example:
https://api.thingspeak.com/channels.json
Name | Description | Value Type |
---|---|---|
api_key |
(Required) Specify User API Key, which you can find in your profile. This key is different from the channel API keys. | string |
description |
(Optional) Specify an ID or name for the client making the request. | string |
field1 |
(Optional) Field 1 name. | string |
fieldX | (Optional) Field X name, where X is the field ID. | string |
latitude |
(Optional) Latitude in degrees. | decimal |
longitude |
(Optional) Longitude in degrees. | decimal |
metadata |
(Optional) Metadata for the channel, which can include JSON, XML, or any other data. | string |
name |
(Optional) Name of the channel. | string |
public_flag |
(Optional) Whether the channel is public. The default is false. |
|
tags | (Optional) Comma-separated list of tags. | any |
url | (Optional) Web page URL for the channel. | string |
application/x-www-form-urlencoded
For the full list, see Error Codes.