Api for gatewey amega