For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
HomeDocs
HomeDocs
      • Overview
        • Overview
          • Overview
          • Webhooks
            • Overview
            • Create a WebSocket request
            • Create a Socket.IO request
            • Work with WebSocket messages
            • Listen to Socket.IO events
            • Use variables in WebSocket requests
            • Add details to a WebSocket request
            • Save WebSocket requests
            • Document WebSocket requests
            • Troubleshoot WebSocket requests
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

Use PostmanSend requestsOther protocolsWebSocket

Listen to Socket.IO events

||View as Markdown|
Was this page helpful?
Previous

Work with WebSocket messages

Next

Use variables in WebSocket requests

Built with

You can configure Socket.IO requests to listen to specific events. The Response pane displays the received events that the request is listening to. Events are color coded to make them more identifiable.

To listen to a new event, do the following:

  1. In your Socket.IO request, click Events.
  2. Click Add icon or click the Add event box.
  3. Enter a name and description for the event.
  4. Click Listen next to an event to turn listening on or off for that event.

    To delete the event listener, hover over the event and click Delete icon Delete.