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

Document WebSocket requests

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

Save WebSocket requests

Next

Troubleshoot WebSocket requests

Built with

Postman automatically generates documentation for each of your requests. The documentation includes the request’s URL, parameters, settings, and any saved messages. You can also add a description to help users understand how to use the request.

To view and edit documentation for a WebSocket request, do the following:

  1. Open the request.
  2. Click Docs icon Documentation in the right sidebar.
  3. Click Add request description.
  4. Write your content using Postman’s built-in editing tools. Your documentation automatically saves. If you need to make changes, you can edit the description.

In your collection, you can also add a description to the overview or a folder. Click the collection or folder in the sidebar, then click Overview and write your description.