> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt.

# Import Swagger APIs

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.

   <img alt="API definition import options" src="https://assets.postman.com/postman-docs/v10/import-definition-options-v10-19.jpg" />

   #### 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 <img alt="Open in Postman icon" src="https://assets.postman.com/postman-docs/aether-icons/action-openInPostman-stroke.svg#icon" width="16px" /> **Go to Collection** next to a collection or API to open the imported element.

   <img alt="Import complete message" src="https://assets.postman.com/postman-docs/v10/import-complete-message-v10-19.jpg" />

#### Tip

You can also [import an API from a code repository](/docs/getting-started/importing-and-exporting/importing-from-git/).