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
      • Collaboration concepts
      • Collaboration features
      • Work within teams
      • Manage access
      • Share your work
      • Collaborate with Live Sessions
      • Comment on APIs
        • Overview
          • Overview
          • Document a collection
          • Add API documentation
          • Write documentation
          • Publish documentation
          • View documentation
          • Host API documentation
          • Set up authentication for public APIs
      • Public elements
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.

On this page
  • Add descriptions to a collection
  • Document gRPC and WebSocket collections
  • Associate environments with documentation
  • Next steps
Collaborate in PostmanDocument APIsPostman documentation

Document a collection in Postman

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

Document your APIs in Postman

Next

Add API documentation in Postman

Built with

Postman automatically generates basic documentation for any collection you create. The documentation includes details about all of the requests in your collection, along with sample code in various client languages. Request details include the method, authorization type, URL, headers, request and response structures, and examples. In addition, the documentation displays all key-value pairs for request parameters, headers, and bodies.

To make your documentation even more valuable to users, add descriptions to the items in your collection. Any descriptions you add are automatically included in the documentation for your collection.

Add descriptions to a collection

Add descriptions to your collections to enhance your documentation and add more detail. You can use the Postman editor to view how your content will look as you write it, or use standard Markdown syntax to write content. With either editor, you can format text, add links, and insert images and videos in your documentation.

To add a description to a collection or folder, do the following:

  1. In the left sidebar, choose a collection or a folder.
  2. Enter a description in the Overview tab. To learn more about using Postman’s built-in editing tools, see Write your docs.
  3. Click outside of the editor to save your new content.

To add a description to a request, do the following:

  1. In the left sidebar, choose a collection and then a request.
  2. Click the Docs tab.
  3. Enter a description. To learn more about using Postman’s built-in editing tools, see Write your docs.
  4. Click outside of the editor to save your new content.

You can also edit descriptions when viewing the complete documentation for a collection. In the left sidebar, choose a collection, then click View complete documentation in the Overview tab. From here, you can add a description to any item in the collection.

Document gRPC and WebSocket collections

Collections with gRPC or WebSocket requests use a different format than collections with HTTP requests. You can view documentation and add descriptions for gRPC or WebSocket requests. You can also add a description on the collection’s Overview tab, but you can’t view or edit documentation for the full collection. Learn more about documenting gRPC requests or documenting WebSocket requests.

Associate environments with documentation

An environment is a set of related variables you can use in Postman requests. You can also refer to variables when writing descriptions in a collection. In each case, the shared value of the variable is automatically populated in the documentation.

Anyone using your collection can view the variables in the documentation if the associated environment is also shared with them. For public documentation, you can choose an environment during the publishing process. Publishing an environment makes it available to anyone viewing public documentation.

To use an environment variable in your documentation, do the following:

  1. Create a new environment if one doesn’t already exist.
  2. Make the environment active by choosing it in the environment dropdown list.
  3. If needed, add a new variable to the environment.
  4. Add a reference to the variable to requests or descriptions in your collection.

If someone imports a collection using the Run in Postman button from your documentation, they also import the environment and any associated variables. The shared values for variables are published in your documentation, so make sure they don’t contain any sensitive data.

Next steps

After documenting a collection in Postman, you can edit and format the docs and publish them.

  • To learn more about documenting an API in Postman, see Add API documentation in Postman.
  • To learn more about editing and formatting your documentation, see Write documentation in Postman.
  • To learn how users can access your documentation, see View documentation in Postman. By default, your documentation is private, so you must share a collection with others before they can access it.
  • To make your documentation publicly available, see Publish documentation in Postman.

See how to document an API with a collection template that’s a boilerplate for documentation that you can customize and reuse. To try out this template, visit API documentation.