1. Home
  2. ...
  3. FAQs
  4. What are interceptors, what are they for and how do I configure them?

What are interceptors, what are they for and how do I configure them?

Definition of an interceptor, its purpose and the steps to add it to a flow.

What are interceptors?

An interceptor is a component that literally intercepts the API flow and applies policies to it.

What are they for?

The interceptor modifies the API request or response by transforming, obfuscating, encrypting data, etc.

NOTE

For more details on its definition and operation, see the interceptors page from our user guide.

How to configure them

Simply drag and drop and, in some cases, configure the desired interceptor:

Access the API Catalog from the side menu API Design > API Catalog.

Click the card or line that has the API you want. If necessary, use the search fields and click SEARCH.

Check the name of the API, scroll until you find the section named Flows and click the EDIT button.

detail of API overview screen

Navigate the tabs and locate the desired interceptor.

Click and drag the interceptor into the flow. Some interceptors are specific to the request flow, others to the response flow and some can be used for both. See more details on each interceptor on the interceptors page in the user guide.

animation showing how to add an interceptor to the flow

Interceptors are configurable. Simply fill in the information on the screen that opens after you drop the interceptor into the flow.

When you are finished entering the information, click SAVE.

Repeat steps 5 to 7 until you have configured all the interceptors you want. When you are done, click CONTINUE.

Click on SAVE or SAVE AS NEW REVISION to save the revision.

screen detail showing the buttons to save the revision

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more