Api for network chat