Main Content

Get Last Executed TalkBack Command

Get last executed TalkBack command from TalkBack queue

Request

HTTP Method

GET

URL

https://api.thingspeak.com/talkbacks/<talkback_id>/commands/last.<format>

Input Arguments

NameDescription

<talkback_id>

(Required) TalkBack ID, specified as a positive integer.

<format>

Format for the HTTP response, specified as json or xml.

Example: https://api.thingspeak.com/talkbacks/12345/commands/last.json

Query String Parameters

NameDescriptionValue Type
api_key

(Required) API key for this specific instance of TalkBack. The Talkback key is different from the channel and user API keys.

string

Content-Type

application/x-www-form-urlencoded

Response

Success

HTTP Status Code

200 OK

Body

 Text Example

 JSON Example

 XML Example

Error

If there are no commands that have been executed for this instance of TalkBack, the request will return HTTP status code 404 and error_resource_not_found.

For the full list, see Error Codes.