The API docs are currently a work in progress and will be updated soon. For now, you can see how the web app uses the endpoints.
The API is still subject to change.