API methods for mobile app