Postman allows you to import and export collections to share APIs, back up requests, or move work between teams and systems. Collections can be shared as files, links, or via workspaces, making collaboration easy and consistent.
Postman collections use a JSON schema that defines folders, requests, headers, authorization, scripts, and variables. Exported files follow a specific version format such as Collection v2.1.
// Sample Postman collection structure (simplified)
{
"info": {
"name": "User API Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Get Users",
"request": {
"method": "GET",
"url": "https://api.example.com/users"
}
}
]
}
When this collection is imported into Postman, it creates a folder named User API Collection with a single request called Get Users. You can run, edit, or share this collection.
Think of a Postman collection like a folder tree:
Importing recreates this structure exactly in another Postman workspace.
Simulate how the export function works in Postman below. Click the button to generate the JSON file.
User_API_Collection.postman_collection.json...