Is it possible to create custom livechat agent desk with API's or Socket calls from RocketChat?

Hello all,

I’ve Integrated livechat to one of our custom widget’s so the messages from agent panel will be streamed on the custom widgets using socket calls, However are there API’s or Socket calls available for the listening to messages on the agent panel? Wanted to build a custom agent panel. Does rocket chat provides all the API’s or socket calls needed for them? If yes, Can someone point out the link for the related docs page. I couldn’t find any socket calls from agent panel side.