Nuki Box open via API

I can’t open my Nuki Box door via the API. I tried it with swagger and the error message is "The method is not allowed: Device does not support simple lock actions“.

This error does not make much sense to me as the device is connected to Nuki Web and I can also open the door via Nuki Web by clicking the „Open“ button.

Can anybody help me?

Hi Timo, and welcome to the forum :wave:

The box does not support the simplified “lock” and “unlock” actions.

To unlock/lock a door using a box, please use the smartlock/{smartlockId}/action endpoint, and pass the appropriate action in the request body (see https://api.nuki.io/#/Smartlock/SmartlockActionResource_post_post).

The available actions are detailed in “M. Smart Lock Actions” within the API documentation, but for quick reference for any one else finding this thread, “1” is unlock.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.