Backend API for Gateway