Creating collections
What is a Postman Collection?
A Postman Collection lets you group individual requests together. These requests can be further organized into folders.
Why create collections?
- Organization - Group together requests into folders and collections, so that you don’t have to search through your history over and over again.
- Documentation - Add a name and descriptions to requests, folders, collections. Within Postman, you can use the collection browser to view this documentation. With Postman Pro, you can create and publish beautiful API documentation pages.
- Test suites - Attach test scripts to requests and build integration test suites.
- Conditional workflows - Using scripts, you can pass data between API requests and build workflows that mirror your actual use case of APIs.
Creating a new collection
- Go to the Collections tab in the sidebar.
- Click on the new collection icon in orange below.
- Enter a name for your collection (and optional description).
Saving a request to a collection
- Create a new request in the builder.
- Hit the Save button.
- Chose an existing collection or a new collection, and hit Save.
Saving to a collection from history
- To save a single request to a collection, hover over a request under the History tab and click the plus icon (+).
- When selecting multiple requests, click the plus icon (+) that displays at the top of the sidebar.
- Chose an existing collection or a new collection, and hit Save.
Duplicating an existing collection
Learn how to share collections, importing and exporting collections, and other collection features.