LocksV1

Returns specified lock device

get/locks/v1/details/{serial_number}

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/locks/v1/details/{serial_number}
  • Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)

Path parameters

serial_numberstring required

Serial number or MAC address of lock.

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Response

details

idstring
namestring required
type'afi' | 'mwm' required
addressstring
timezonestring

Example response

{
  "id": "lock-615d0c0efea8",
  "timezone": "Europe/Copenhagen",
  "afi": {
    "device_type": "danalockv3"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.