Home / Docs Center / Device API Reference / QuerySecret Key
QuerySecret Key
Project: Device API Documentation (New Version) | page_id: 261
Brief Description:
- Query the secret key
Request URL:
- /xsw/api/userSecret
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| - | - | - | - |
Response Example
{
"mode": 0,
"value": "",
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| mode | int | 0 supports both old and new APIs. 1 supports the new API only |
| value | string | Secret key, in plain text |
Notes
- None
Didn't find what you need?Contact us,Talk to our engineers directly.