API for checking if there are available agents connected

Hello, as the title suggests, I need an API (or some kind of resource) to determine if there are human agents connected and attending to their inboxes.

I need to take UI actions depending on it.

Are there resources available to address this issue?

Thanks.

Hey @MLara48 - thanks for posting in the Community!
I’d like to tag in some API experts here to see if they have insight on whether or not this is possible! @Ben_M, @franksteiner79, and @Mike_Eastwood - are any of you aware of an API to make this connection?
Shane, Senior Community Moderator

Hello @Ben_M, @franksteiner79, @Mike_Eastwood do you have any idea if it is possible to know if there are available agents, by using an API or some other resource?

Thanks!