API for mobile chat