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
      • Welcome
        • Overview
        • Data import methods
        • SoapUI import
        • Hoppscotch import
        • Insomnia import
        • Thunder Client import
        • Git import
        • New Relic import
        • cURL command import
        • Swagger API import
        • Data export
      • Troubleshooting
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
  • Import a Swagger API
Get startedImport and export data

Import Swagger APIs

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

Import cURL commands

Next

Export data from Postman

Built with

Postman can import APIs created with the Swagger tool suite.

The terms Swagger and OpenAPI can be confusing because the OpenAPI specification was named Swagger, and people sometimes use the terms interchangeably. To clarify, in this document, Swagger API refers to an API created with the Swagger tool suite.

Import a Swagger API

  1. In Postman, click Import in the sidebar.

  2. Select an API definition file, enter a link to the API, or paste your raw text.

  3. You can choose to import the definition as a collection or as an API along with a collection.

    API definition import options
    Tip

    Click View Import Settings for more configuration options. These options will vary depending on your API specification.

  4. Click Import.

  5. An Import Complete message displays in the footer. In the message, click Open in Postman icon Go to Collection next to a collection or API to open the imported element.

    Import complete message
Tip

You can also import an API from a code repository.