How to add users to private rooms

is there a way [endpoint] to add users to the private room by owner?

Yes!

Check this out:

Actually for private room you’d need groups.invite

hummm. Missed this.