Add TalkBack Command
Add TalkBack command to TalkBack queue
(Required) TalkBack ID, specified as a positive integer.
Format for the HTTP response, specified as
(Required) API key for this specific instance of TalkBack. The TalkBack key is different from the channel and user API keys.
Command to be sent to your device. Each command_string is limited to 255 characters.
(Optional) The position you want the command to appear in. Any previous commands at or after this position are shifted down. If the position is left blank, the command is automatically added to the end of the queue with the highest position.
For the full list, see Error Codes.
Use POSTMAN to Add a TalkBack Command
You can use POSTMAN to try out your HTTP requests using the RESTful API for ThingSpeak. This example shows how to add a TalkBack command to an existing queue using POSTMAN.
Add the TalkBack command
LIGHTON to an existing
TalkBack queue with the TalkBack ID
POST https://api.thingspeak.com/talkbacks/24507/commands api_key=YOUR_TALKBACK_API_KEY command_string=LIGHTON
In POSTMAN, select POST from the drop-down list of HTTP verbs, and enter
https://api.thingspeak.com/talkbacks/TALKBACK_ID/commandsin the address bar. Change
TALKBACK_IDto your TalkBack ID.
Enter the parameter
api_keyand your TalkBack API key, which is found in Apps > TalkBack> YOUR TALKBACK NAME.
Enter the additional parameters and values:
The response is in text format. Note the server response value of 200 OK, which indicates the successful addition of the command to your TalkBack queue.
The new command is now available in your TalkBack queue.
- Queue Commands Using the TalkBack App From MATLAB
- Monitor and Act on Channel Inactivity Using ThingSpeak Apps
- Control a Light with TalkBack on Arduino
- Channel Update and Light Control on Arduino
- Control a Light with TalkBack on ESP8266
- Channel Update and Light Control with ESP8266
- Control a Light with TalkBack on ESP32
- Channel Update and Light Control with ESP32
- Channel Properties