Can i connect theia from external web app?

Hi,
I want to connect theia ide from external web application that i’ve developed to get theia workspace info.
So i have to XHR connection or other connection with theia.
Is there any connection api in theia?

Thanks.