You can import an existing API specification into the Postman API Builder. API specifications can be imported from a local file or directory, a URL, raw text, or an API gateway.
You can also import an API specification from a code repository. Learn more aboutimporting data from a Git repository.
In Postman, clickImport in the sidebar.
Select an API specification file, enter a link to the API, or paste your raw text.
If you import an OpenAPI 3.0 or AsyncAPI 2.0 specification this way, you’ll only have the option toimport the specification into Spec Hub. To import an OpenAPI 3.0 or AsyncAPI 2.0 specification into the API Builder,import the file into your API.
You can choose to import the specification as a collection or as an API along with a collection.

Click
View Import Settings for more configuration options. These options will vary depending on your API specification.
ClickImport.
AnImport Complete message displays in the footer. In the message, selectGo to Collection next to a collection or API to open the imported element.

Multi-file API specifications are supported in OpenAPI 2.0 and 3.0 APIs and protobuf 2.0 and 3.0 APIs.
If you import a multi-file OpenAPI 3.0 specification this way, you’ll only have the option toimport the specification into Spec Hub. To import a multi-file OpenAPI 3.0 specification into the API Builder,import the files into your API.
In Postman, clickImport in the sidebar.
Selectfolders, then select a local folder with your API files.
Select the files you want to import into Postman. SelectPostman Collection to create a collection only. Select(format) with a Postman Collection to import the specification as a collection in theCollections tab and an API with a collection.
Click
View Import Settings for more configuration options. These options will vary depending on your API specification.
ClickImport.
AnImport Complete message displays in the footer. In the message, selectGo to Collection next to a collection or API to open the imported element.

Learn more aboutworking with multi-file API specifications.
Amazon API Gateway enables developers to publish and manage APIs that access AWS and other web services and data sources. You can import APIs directly from AWS Gateway to Postman. This creates an integration with API Gateway. Once connected, you can view your API deployment status and history from within Postman. You can also viewAmazon CloudWatch metrics for each stage to get operational insight into your API.
This integration supports importing OpenAPI 3.0 specifications for both HTTP and REST APIs. Importing a specification will create a new API in Postman and will also configure an integration with AWS API Gateway.
To import an API from AWS API Gateway, clickImport in the sidebar, then selectOther Sources > AWS API Gateway. When importing an API from AWS API Gateway, you can choose to authenticate by creating an AWS IAM role or by using an AWS access key. Follow the steps for your chosen method:
To set up a connection to Amazon API Gateway using an AWS IAM role, do the following:
SelectIAM underAWS Authentication Method.

Select theAWS API Type (HTTP or REST).
To create an IAM role for Postman in AWS, do the following:
Sign in to theAWS IAM console and selectCreate role.
UnderSelect type of trusted entity, selectAWS account.
UnderAn AWS account, selectAnother AWS account and enter Postman’sAWS Account ID:258201882842
UnderOptions, select theRequire external ID checkbox and enter theExternal ID from Postman. You can find the external ID in Postman’sConnect to AWS API Gateway procedure underStep 1: Create an IAM role, as shown inAuthenticating with an AWS IAM role.
For more information, refer to theAWS IAM guide on using external IDs.
ClickNext: Permissions.
Select an existing IAM policy or clickCreate policy. If you are creating a policy, use the following JSON code:
{"Version":"2012-10-17","Statement":[{"Sid":"Stmt909923626743","Effect":"Allow","Action":["apigateway:GET","apigateway:PUT","apigateway:POST","cloudwatch:GetMetricData"],"Resource":["*"]}]}This policy will enable exporting and deploying for HTTP API specifications. (Exporting and deploying aren’t supported for REST API specifications.) You can customize theAction section in the IAM policy based on your needs:
"apigateway:GET" - (Required) Enables viewing API Gateway deployments for HTTP and REST APIs in Postman."apigateway:PUT" - Enablesexporting HTTP API specifications to the API Gateway."apigateway:POST" - Enablesdeploying HTTP API specifications to a stage on the API Gateway."apigateway:*" - Assigns all GET, PUT, POST, PATCH, DELETE permissions to the IAM role."cloudwatch:GetMetricData" - Enablesviewing CloudWatch metrics in Postman.ClickNext: Tags.
ClickNext: Review.
Add aRole name andRole description, then clickCreate role.
Copy theRole ARN from AWS and paste it in Postman underStep 2: Enter role ARN and region. Next, enter theAWS Region where the API Gateway is located and select theAPI Gateway. Then, enter anAPI Name for the imported API. When you’re ready, clickConnect.
To set up a connection to Amazon API Gateway using an AWS access key, selectAccess Key underAWS Authentication Method.

Next, enter information about the connection:
When you’re ready, clickImport. After importing your API specification, you canview API deployments in Postman.
You can import a specification from a connected Azure API Management service to an API in Postman. Importing a specification will create a new API in Postman and will also configure an integration with Azure API Management. Learn more aboutintegrating with Azure API Management.
To import an API specification from Azure API Management, do the following:
ClickImport in the sidebar, then selectOther Sources > Azure API Management.
You’ll be prompted to authorize Postman to access your Microsoft Azure account. After you grant access, you can close the browser tab and return to Postman.
Enter information about the Azure API Management service you want to import a specification from:
ClickImport.
Postman directly supports importing the following formats:
There are also tools on GitHub to convert different API specifications into a Postman Collection that can be imported:
Last modified: 2025/10/10
Explore ready-to-use Collection Templates, build API-first workflows with Postman Flows, and more!