# getAccounts **Type:** GraphQL queries **Description:** Gets accounts with filtering and pagination ## Arguments - accountId (String): Unique identifier of the account to filter by - accountName (String): Name of the account to filter by - accountType (String): Type of the account to filter by. Valid values: CUSTOMER, PUBLISHER, CHANNEL_PARTNER, SELF_REGISTERED. Default: CUSTOMER - limit (Int): Number of records per page - page (Int): Page number for pagination - rootAccountOnly (Boolean): Whether to return only root accounts (accounts without parent). Default: false ## Response **Type:** PagedAccountResponse **Description:** Paginated account response ### Fields - accounts (Account): List of accounts - pagination (Pagination): Pagination information