Inviting users and assigning them to nuki devices

You can take a look at

for a start.
I assume you already checked https://api.nuki.io/ in general?