Postman API
  1. Import
Postman API
  • API
    • Get all APIs
      GET
    • Create API
      POST
    • Delete an API
      DELETE
    • Single API
      GET
    • Update an API
      PUT
    • Get All API Versions
      GET
    • Create API Version
      POST
    • Delete an API Version
      DELETE
    • Get an API Version
      GET
    • Update an API Version
      PUT
    • Get contract test relations
      GET
    • Get documentation relations
      GET
    • Get environment relations
      GET
    • Get integration test relations
      GET
    • Get monitor relations
      GET
    • Get linked relations
      GET
    • Create relations
      POST
    • Create Schema
      POST
    • Get Schema
      GET
    • Update Schema
      PUT
    • Create collection from schema
      POST
    • Get test suite relations
      GET
    • Sync relations with schema
      PUT
  • Collections
    • All Collections
      GET
    • Create Collection
      POST
    • Create a Fork
      POST
    • Merge a Fork
      POST
    • Delete Collection
      DELETE
    • Single Collection
      GET
    • Update Collection
      PUT
  • Environments
    • All Environments
    • Create Environment
    • Delete Environment
    • Single Environment
    • Update Environment
  • Import
    • Import exported data
      POST
    • Import external API specification
      POST
  • User
    • API Key Owner
  • Mocks
    • All Mocks
    • Create Mock
    • Delete Mock
    • Single Mock
    • Update Mock
    • Publish Mock
    • Unpublish Mock
  • Monitors
    • All Monitors
    • Create Monitor
    • Delete Monitor
    • Single Monitor
    • Update Monitor
    • Run a Monitor
  • Webhooks
    • Create Webhook
  • Workspaces
    • All workspaces
    • Create Workspace
    • Delete Workspace
    • Single workspace
    • Update Workspace
  1. Import

Import exported data

POST
/import/exported
Import
This endpoint allows you to import your exported Postman data.
For more information about how you can export your data, refer Export your Postman data.
On successful imports, the response will be an array with Each element contaning id, name and uid of entities created.
Note: Refer to examples for different scenarios.
Requires API Key as X-Api-Key request header.
Request Request Example
Shell
JavaScript
Java
Swift
Response Response Example
200 - Success: Import to a specific workspace with workspace ID passed as a query parameter
{
  "collections": [
    {
      "id": "b31be584-1b1e-4444-b581-761edf88fe77",
      "name": "Swagger Petstore",
      "uid": "2282-b31be584-1b1e-4444-b581-761edf88fe77"
    }
  ]
}

Request

Body Params application/octet-stream
Not configured

Responses

🟢200Success: Import to a specific workspace with workspace ID passed as a query parameter
application/json
Body
collections
array [object {3}] 
optional
id
string 
optional
Example:
b31be584-1b1e-4444-b581-761edf88fe77
name
string 
optional
Example:
Swagger Petstore
uid
string 
optional
Example:
2282-b31be584-1b1e-4444-b581-761edf88fe77
🟠400Error: Param Missing
Previous
Update Environment
Next
Import external API specification
Built with