I’m trying to call the /smartlock GET endpoint. It succeeds, but the response body doesn’t contain the state
object suggested by documentation. Do you guys have any suggestions on why that could be?
Call:
curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer <redacted> 'https://api.nuki.io/smartlock/<redacted>
Response:
{
"smartlockId": <redacted>,
"accountId": <redacted>,
"type": 4,
"authId": <redacted>,
"name": <redacted>,
"favorite": false,
"serverState": 0,
"adminPinState": 0,
"virtualDevice": false,
"creationDate": "2023-09-26T07:04:26.880Z",
"updateDate": "2023-09-26T07:30:31.232Z",
"currentSubscription": {
"type": "B2C",
"state": "INACTIVE",
"creationDate": "2023-09-26T07:04:27.989Z"
}
}