Postman Collections

Last Updated : 5 Sep, 2025

A Postman Collection is a group of saved API requests that can be organized into folders. Collections help:

  • Store multiple related API requests.
  • Reuse base URLs, headers and authentication.
  • Share requests with your team.
  • Automate execution of requests using Collection Runner.
  • Export/Import APIs for collaboration.

Why Use Collections

  • Organize APIs: Group related requests (e.g., User APIs, Product APIs).
  • Reusability: Save requests for repeated use.
  • Collaboration: Share APIs with your team.
  • Automation: Run a sequence of requests automatically.
  • Documentation: Collections can be published as API docs.

Creating a Collection in Postman

Step 1: Create a New Collection

  • Open Postman.
  • On the left sidebar, click Collections -> New Collection.
  • Give your collection a name (e.g., My Collection).
Post1
post1

Step 2: Add a Request to the Collection

  • Click + New Request.
  • Choose the HTTP method (e.g., POST).
  • Enter the API endpoint in the address bar. Example

https://library-api.postmanlabs.com/books

  • Go to the Body tab ->Select raw -> Choose JSON.
  • Enter JSON data like this:

{

"title": "1984",

"author": "George Orwell",

"genre": "Dystopian",

"yearPublished": 1949

}

Click Save ->Choose Collection (Library API Collection) -> Save.

post3
post3
save

Step 3: Run a Collection with Collection Runner

1. Open your collection.

2. Click Run Collection.

3. Set options like:

  • Number of iterations
  • Delay between requests
  • Import data file (CSV/JSON) if required

4. Click Run.

post4
Comment

Explore