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
        • Create a specification
        • Import a specification
        • Edit a specification
        • Add files to a specification
        • Validate a specification
        • View live documentation
        • Reuse components
        • Generate collections
      • Sync collections and specifications reference
      • Migrate from API Builder to Spec Hub
      • Develop APIs with the API Builder
      • Simulate real-world conditions
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
  • Create a new specification
  • Share a specification
  • Rename a specification
  • Delete a specification
  • Comment on a specification
Design and build APIsDesign APIs with specifications

Create a new API specification

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

Design API specifications in Postman

Next

Import an API specification

Built with

Create a specification in Spec Hub to design and test your API’s structure. You can create specifications in OpenAPI, AsyncAPI, protobuf, GraphQL, and Smithy format, then share your specification with collaborators.

You can also import a specification into Spec Hub.

Create a new specification

You can create OpenAPI, AsyncAPI, protobuf, and GraphQL specifications in Spec Hub. You can also import an existing specification into Postman.

  1. In the sidebar, click Add icon and select Spec.
  2. Select the type of specification you want to create. Postman creates a new specification with boilerplate content.
  3. To rename your specification, click Options icon More actions next to the specification in the sidebar and select Rename. Type a new name and press Return or Enter. Or, select the filename in the workbench, enter a new name, and press Return or Enter.
  4. Edit or replace the content in the specification as needed for your API. Learn more about editing your specification.

Your Postman plan gives you a limited number of specifications in your team’s internal workspaces. Learn more about resource usage in Postman.

You can’t change the specification’s type after creating a specification. Create a new specification instead.

Share a specification

You can share a specification with collaborators. Expand Specs in the sidebar and select a specification. Then click Link icon Copy link in the workbench.

Copy a link to a specification

For more details about sharing elements, see Share your work in Postman.

Rename a specification

  1. Expand Specs in the sidebar.
  2. Next to your specification, select Options icon More actions > Rename.
  3. Enter a new name for your specification.
  4. Press Return or Enter.

Delete a specification

  1. Expand Specs in the sidebar.
  2. Next to your specification, select Options icon More actions > Delete.
  3. Click Delete to confirm.

Comment on a specification

You can add one or more comments to a specification in Spec Hub. Use comments to discuss your specifications with collaborators in Postman, keeping the conversation in context and available to other stakeholders.

To add a comment to a specification, do the following:

  1. Expand Specs in the sidebar, then select the specification that you want to comment on.
  2. Click Comments icon Comments in the right sidebar.
  3. Enter your comment and click Comment.

You can also add comments to collections you’ve added to your API and to requests and folders in that collection. Learn more about commenting on a collection.