I need to build an interface (web app or app) that:
- allows user to submit the code they received by Nuki;
- the app checks if the code is valid (existing and enabled at the current time)
- if the code is valid, the app will load a page with instructions.
Any suggestion for API regarding step #2 ?
With the Web API you can get a list of all Keypad codes for a devices via
and then filtering for
type = 13
With this you should be able to verify if a code would currently be valid.
But be aware that you would need such an interface to be secured against (brute-force) attacks to “guess” correct entry codes for a Keypad.