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