Articles in this support section discuss Telebroad's legacy APIs. To learn about the current version of Telebroad APIs, which offer additional authentication options and support for advanced features, please go to https://developers.telebroad.com/.
Use the PUT/myStatus (case-sensitive) request to set your TeleConsole's availability status, specifying status type and message.
Parameters
There are no parameters in the header. All parameters go in the body in JSON Raw format.
| Parameter | Type | Operation |
| *status | Boolean | The type of status to be set: Use a value of 1 to set status to available - ![]() Use a value of 0 to set status to unavailable - ![]() |
| status_msg | string | Select either an existing status message to be set (not case sensitive) or specify a new one. |
*If you don't specify a status field in the request, an unavailable status will be used as a default choice.
If using the web version of the TeleConosole, please refresh your browser to see the status change.
Example
To set the Teleconsole's "unavailable" status type with a newly created status message of "Back in office in 2 hours" use this syntax:
HTTPS method: PUT
Header
webserv.telebroad.com/api/teleconsole/rest/myStatus
Body
{"status":"0", "status_msg":"Back in office in 2 hours"}
Response:
A "true" response will be returned for a successful change of status:
{
"error": null,
"result": "true"
}

