Skip to main content


The $aimychat service allows you to interact with the Aimychat customer engagement platform.


This method allows you to check in which group a specific agent is assigned as the default agent.


The method accepts an agent login as a string argument:


The method returns an object with two properties:

idNumberGroup ID.
nameStringGroup name.

If the specified agent is the default agent in one of the groups, the method will return the group name and its ID. Otherwise, the method returns null.