An API Gateway is a layer in an architecture pattern that handles many cross-cutting concerns. This article is about how we built an API Gateway in Ballerina for the WSO2 API Manager.