Home / Docs Center / Device API Reference / QuerySecret Key

QuerySecret Key

Device API Reference · New API

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.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.