This API allows you to programmatically get a list of all the departments that have been associated with the brand in which Mobilisten is configured.

The API provides an array of instances of the SIQDepartment class to represent the list of departments asynchronously.

Properties of SIQDepartment class:

PropertyData typeDescription
idStringThe ID of the department
nameStringName of the department
availablebooleanAvailability of the department based on operators' availability and business hours.

Error Handling:

605Mobilisten disabled


CopiedZohoSalesIQ.Chat.getDepartments(new DepartmentListener() {
    public void onSuccess(ArrayList<SIQDepartment> departments) {
        //your code

    public void onFailure(int code, String message) {
        //your code