Get Dynamic Password

Last Updated on : 2023-12-07 03:33:59download

Get a dynamic password of the smart lock.

API address

GET: /v1.0/devices/{device_id}/door-lock/dynamic-password

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result JSONObject

Description of result

Parameter name Type Description
dynamic_password String A dynamic password.

Request example

GET: /v1.0/devices/vdevo15345926009****/door-lock/dynamic-password

Return example

{ "result": { "dynamic_password": "5654fgg***" }, "t": 1542626129429, "success": true }

Error code

For more information, see error code.