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
        • Install and sign in
        • Send requests
        • Add and manage certificates
        • Create and manage collections
        • Create and manage environments
        • Share your work and manage access
        • Document APIs
        • Manage Postman with AI agents
        • Feedback
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 HTTP requests to a collection
  • Manage a collection
ReferencePostman VS Code extension

Create and manage collections from the Postman VS Code extension

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

Add and manage CA and client certificates in the Postman VS Code extension

Next

Create and manage environments from the Postman VS Code extension

Built with

With the Postman VS Code extension, you can create new collections to group HTTP requests. You can also manage your existing collections and make changes to them directly in VS Code.

To learn more about using collections in Postman, see Create and manage request collections in Postman.

Add HTTP requests to a collection

To create a collection and add an HTTP request to it, do the following:

  1. Select a workspace from the workspace dropdown list in the sidebar.
  2. Click Collection icon Collections.
  3. Click Add icon.
  4. To add an HTTP request to a collection, click Options icon next to a collection, then select Add Request.

You can also use the Postman: Create a new Postman Collection command from the Command Palette to create a collection.

Manage a collection

To customize and configure a collection with HTTP requests, do the following:

  1. Select a workspace from the workspace dropdown list in the sidebar.
  2. Click Collection icon Collections.
  3. Select a collection.
  4. Click Authorization to configure authorization details for your collection.
  5. Select Scripts > Pre-request to define a pre-request script for your collection, which runs before requests are sent to the server.
  6. Select Scripts > Post-response to define a post-response script for your collection and the requests and folders in it, which runs after a response is received. Learn more about adding post-response scripts.
  7. Click Variables to define values for collection variables to share across all requests in the collection.

You can move an existing folder or request to a new collection. In the sidebar, select the folder or request you want to move, then drag it to a new collection.

You can also save a copy of a request to a new collection. Select a request in the sidebar, click Down Large icon > Save As at the top, then choose or create a collection to save it in.