Last Updated on : 2025-02-26 01:50:50download
Query the device information by the device serial number (SN).
GET: /v1.0/cloud/thing/device/info
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
sn | String | query | true | The device SN. |
Parameter name | Type | Description |
---|---|---|
result | Object | The returned result. |
code | String | The response code. It is empty if the request is successful. |
msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
success | Boolean | Indicates whether the operation is successful.Valid values:
|
t | Long | The 13-digit timestamp of a response. |
Description of result
Parameter name | Type | Description |
---|---|---|
devId | String | The ID of a Tuya-enabled device. |
uuid | String | The universally unique identifier (UUID) of the specified device. |
GET: /v1.0/cloud/thing/device/info?sn=BA190411PY0****
{
"result": {
"devId": "6c3c54beb3124053d2****",
"uuid": "2630183568572d11****"
},
"t": 1734579142041,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback