WebStorm 2025.2 Help

Endpoints tool window

If the application that you are developing uses an Express, Next.js, or GraphQL, you can get an overview of route handlers in the Endpoints tool window. The tool window can assist you when developing microservices and backend-frontend communication. It is also helpful for exploring third-party APIs.

Endpoints tool window

To navigate to the endpoint declaration from the Endpoints tool window, do one of the following:

  • Select Jump to source from the endpoint's context menu.

  • Select the endpoint and press F4.

  • Double-click the endpoint.

Jump to source from the Endpoint tool window

In the Endpoints tool window, you can filter the list of endpoints by module, type, and framework. To list endpoints from external sources , select External under Module.

Endpoint tool window: filter by module

Endpoints marked as deprecated appear with a strikethrough (crossed out).

Enable the Endpoints tab in Search everywhere

You can also search for endpoints in Search for a target by name (Search everywhere).

  1. Press Ctrl+Alt+S to open settings and then select Advanced Settings.

  2. Select the Show Endpoints tab for relevant projectsShow Endpoints tab for relevant projects checkbox.

Enable Endpoints in Search Everywhere

You can now press Ctrl+Shift+\ and, in the Endpoints tab, start typing a URL.

Find endpoint declaration

Before you start

By default, the Endpoints tool window is not available in WebStorm.

  • To add the Endpoints tool window, install the Endpoints plugin on the Settings | Plugins page, tab Marketplace.

  • To work with REST APIs, install the OpenAPI Specifications plugin (Settings | Plugins page, tab Marketplace).

For more information, refer to Install a plugin from Marketplace.

Toolbar

Options of the Endpoints tool window

Item

Description

Module

Filter endpoints by module or select an external module

Type

Filter endpoints by type

Framework

Filter endpoints by framework

the Configure OpenAPI Sources icon

Configure OpenAPI Sources: Add an external OpenAPI specification (for example, from SwaggerHub) to include endpoints from this specification in the Endpoints tool window and highlight them with a yellow background. In the OpenAPI Specifications window that opens, click the Add button in the Remote Specifications list, and specify the URL of an OpenAPI specification file or find an OpenAPI specification on SwaggerHub. This also adds URLs defined in the specification to code completion.

Completion suggestion for Express routes

Learn more from Working with REST APIs in WebStorm.

Show Side Panel

Show and hide the details panel

Configure the tool window layout and filters:

  • Compact List Items: Show only the endpoint addresses, without the type and framework.

  • Group by Module: Group endpoints from the same module.

  • Show From Libraries: Include endpoints defined in libraries.

  • Show From Tests: Include endpoints defined in tests.

Endpoint details

When you select an endpoint, you can see the details in the dedicated pane. Use the Show Side Panel icon or to show and hide the details pane.

Shows the generated HTTP or gRPC request for the selected endpoint.

If the corresponding server is running, you can submit the request to see the response immediately or open it in a separate HTTP requests file in the editor. For more information, refer to HTTP Client.

Endpoints tool window: HTTP Client tab

Shows the generated OpenAPI specification for the selected endpoints.

You can also generate an OpenAPI specification for an entire module: right-click a module in the Endpoints tool window and select Export Draft of OpenAPI Specification.

Endpoints tool window: OpenAPI tab

To preview the specification in a separate file, click The Export Draft of OpenAPI Specification button.

Provides examples of client code to access the selected endpoint. Use the Frameworks list to select a framework or a language in which you want to show code.

For Retrofit and Ktor, you can also click the Show icon and select Show Boilerplate Code to complete the request sample with all the necessary code elements, such as import statements and HTTP Client instance.

Endpoints tool window: Example tab

To save the code sample into a file, hover over the code and click Save icon. This will save the code into a new scratch file.

Shows the documentation for the selected endpoint. Double-click an endpoint to navigate to its source code.

Endpoints tool window: Documentation tab
04 July 2025