The API Gateway has a default mediation flow that is executed in each API invocation. You can do additional custom mediation for the messages in the API Gateway by extending their its mediation flow. An extension is provided as a synapse mediation sequence.
...