#59: API to create an invitation (WIP)