Get value

<< Click to Display Table of Contents >>

Navigation:  HTTPS REST API > GET API >

Get value

Previous pageReturn to chapter overviewNext page

REQUEST: https://cloud.teslascada.com/external/api/get?token={token}&tag={tagname}

Where:

{token} - Your TeslaCloud token.

{tagname} - Name of tag.

 

 

RESPONSES:

200                        Success. Get tag's value.

BODY JSON format:                {

                                 "value": {tagvalue}

                         }

Where:

{tagvalue} - Value of the tag.

 

400                        Not success. Could not get tag's value.

 

EXAMPLE:

REQUEST:

Query format: https://cloud.teslascada.com/external/api/get?token=jsESaEXG&tag=Temperature

 

RESPONSE:

200

JSON format:                        {

                                 "value": 24.5

                         }