How to generate dynamic PIN codes

Hi, I have a small hotel using 7 Nuki’s smart lock with bridge and PIN codes. Now I want to create PIN codes for the guests for their period of stay by using the auth API. But there I need to enter the PIN “code” already in the API. And if it is used already, then it will not create the authorization for the PIN code. Is there a way that. Nuki can auto generate a dynamic authorization (PIN) codes. I know Smoobu does that as I used Smoobu in the past. Who can help me on this matter?

No, such a function does not exist. You need to query the existing codes first, if you want to go for sure that a new code that you choose does not exist already.