Managing collections

This topic describes the tasks you can perform from the Collections tab in the sidebar.

Click on a collection to show or hide the requests that comprise the Collection. Use the up and down arrow keys on your keyboard to navigate through the collections.

Edit and view collection details

Expand the arrow (▸) to show the details view for the collection. Collapse the arrow (◂) to hide the details view. You can add metadata like name and description so that all the information a developer needs to use your API is available easily.

collection details view

Create a new collection

Click the "new collection" icon on the top right, or save a current request to a new collection.

new collection icon

Favoriting a collection

If you're working on a few collections in particular, you can click on the star icon to bring the collection(s) to the top of the list.

favorite a collection

Filter collections

If you have a lot of collections, filter collections in the sidebar using the search input field.  

filter collections

Delete a collection

Click the ellipsis (...)next to a collection, and select "Delete". If you didn't intend to delete the collection, you can always recover your deleted collections. Refer to the next section Recover a collection to learn how to retrieve your deleted collections.

Recover a collection

Collections deleted can be recovered via your web dashboard by clicking your avatar icon in the upper-right corner, then selecting Trash from the drop-down menu. Locate the desired collection, hover your cursor over its row, then click Restore. You can also recover your deleted collections clicking 'Trash' directly from the app, as illustrated in the screen below:

sort collections

The Trash feature is available only for the signed-in users. So, if you are not a registered user you'll still see the Trash option but as a disabled one.

Recovery options depend on your Postman plan:

  • With a free account you can recover collections up to one day old.
  • Team accounts can recover collections up to 30 days.
  • With Postman Business and Enterprise you can recover collections up to 90 days.

If your collection seems deleted and you are not able to recover from your deleted collections list, it is possible it is removed from a workspace rather than deleted. To check, navigate back to the main page of the web dashboard, then click View all collections. If listed, you can click on its share icon to move it back into a personal or shared workspace.

If you'd like to revert your collection to a previous state, you can do so by leveraging the collection's in-app activity feed.

Share a collection

To share a collection, see sharing collections.

Other collection features

Reorder requests

Within a collection or folder, you can reorder requests using drag and drop. You can also reorder folders within a collection using drag and drop.

Save responses

Requests can also store sample responses when saved in a collection.

Use examples

With examples, you can mock raw responses and save them to a collection. Then, you’ll be able to generate a mock endpoint for each of them using Postman’s mock service.

Add scripts

Requests stored inside a collection can contain scripts to add dynamic behavior to the collection.

Adding folders

Folders are a way to organize your API endpoints within a collection into intuitive and logical groups to mirror your workflow. Next to the collection to which you want to add a folder, click on the ellipsis (...) and select "Add Folder".

add folder from dropdown

Add a name and description to the folder. The description is reflected in your API documentation.

You can add deeper levels of nesting for folders. Drag and drop the folders to reorder them to create the ultimate customized folder structure.

multi-level folders