Creating Events Via API

I am trying to create events via API for my educational community. Simply, I will create events for online live lessons and only some users can enter this rooms (maybe using a password protection) Because lack of an proper API documentation, I have issues at this point. How can I achieve it?