How to use API methods in room mode (NOT in iframe)

Hi! I want to use JS API not in iframe, but in a regular room that is created automatically at the address

https://meet.mydomain.org/roomname (self hosting)

Is there a way to do this? In the method with iframe everything is clear to me, just call:

api = new JitsiMeetExternalAPI(domain, options)
api.functionName()

Maybe there are built-in objects through which you can call the same methods or functions?