Create a WebSocket Request

You can create a WebSocket request from the sidebar in Postman.

  1. Click New > WebSocket to open a raw WebSocket request in a new tab. You can also click New > Socket.IO to open a Socket.IO request in a new tab. (In the Postman desktop app, you can also press ⌘+N or Ctrl+N.)

    New WebSocket request
  2. Enter the WebSocket server URL. A WebSocket URL begins with ws:// or wss://.

    New WebSocket request
  3. Click Connect.

To disconnect your WebSocket request’s connection, click Disconnect.

If you’re using the Postman web app, consider using the Postman Desktop Agent for the best experience. See About the Postman Agent for more information.

Last modified: 2025/09/17


Postmanaut Cooper jumping over crystal ball. Illustration.