Read Status of Image Request
Read status of image request with HTTP GET
Read the status of a recent image write or delete request, so you can determine if the request was completed.
Request
HTTP Method
GET
URL
https://data.thingspeak.com/channels/
<channel_id>
/recent-requests/<request_id>
/status
URL Parameters
Name | Description |
---|---|
| (Required) Channel ID for the channel of interest. |
| (Required) Request ID, returned from the original request. |
Example:
https://data.thingspeak.com/channels/0987654321/recent-requests/cl2th2wxyuvtsr7m9e3l5blje/status
Body Parameters
None.
Headers
None.
Response
Success
200 OK
The immediate response is a JSON object with the original request ID, and its current code and status. For example:
{ "requestID": "cl2th2wxyuvtsr7m9e3l5blje", "code": 1, "status": "OK" }
Possible status values are PENDING
, OK
,
and FAIL
.
If the status is FAIL
, there is also a
message
field that is populated with the reason for the
request failure.
Error
For the full list, see Error Codes.