Hello everyone,
Through Nuki Web, I can create a user and assign permissions for two locks (Opener and Smart Lock 3.0) simultaneously. This generates an email containing a single link. With this link, the guest can then add both locks simultaneously in the Nuki smartphone app.
I would like to automate this process via the API. If I understand the documentation correctly, this should work with PUT and “/smartlock/auth”. Multiple IDs can be specified under “smartlockIds”: [ ], correct?
The parameters “type” and “code” seem to be mandatory, but it appears that “code” is only for the keypad, and I do not use a keypad. I also don’t fully understand the “type” parameter, as I want to create permission for both the Opener and Smart Lock simultaneously. As mentioned, in the end, a link should be sent to the guest containing permissions for both locks.
Thank you very much.
Best regards,
Tom