Backend API engine to manage devices