Help enumerating who has which role

Is there an API call which will return what accounts are assigned what roles?
I’m trying to integrate LiveChat with an identity management system and unfortunately I can’t easily build a query which enumerates accounts for this - only enumeration of roles is supported.
any ideas?
Thanks!
-Shay

Hello @Shay_Rakovski :wave:

Sorry for the late answer,
There is a global-accounts query → list accounts, it will provide you with the accounts and the roles within them.

Let me know if that helps!