A real-world JSON example of a Postman Collection v2.1 — folders, requests, and variables. Copy-ready for understanding the collection format or generating one programmatically.
→Generating a Postman collection programmatically from an OpenAPI spec or route list
→Understanding the collection JSON format to build a custom import/export tool
→Sharing a versioned, git-trackable API test suite instead of Postman's cloud sync
postmanapi testingcollectionRESTdeveloper tools
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Collection variables (shown here) travel with the collection file itself and are the same for anyone who imports it; environment variables live in a separate Postman Environment file and let the same collection run against different base URLs (dev/staging/prod) without editing the collection.
Yes — if you already have an OpenAPI/Swagger spec, Postman can import it directly and generate a collection with one request per documented endpoint, which is usually far less work than hand-building one from scratch.
Folders let you organize by resource or workflow (Users, Orders, Auth) and also allow folder-level settings — like a shared auth header or a pre-request script — to apply to every request inside without repeating it.