Generator

Postman Collection Generator

Build a Postman v2.1 collection JSON from a base URL and endpoint list. Import into Postman or Insomnia.

Postman v2.1 collection
{
  "info": {
    "name": "My API Collection",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "GET /users",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://api.example.com/users",
          "host": [
            "api.example.com"
          ],
          "path": [
            "users"
          ]
        }
      }
    },
    {
      "name": "GET /users/:id",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://api.example.com/users/:id",
          "host": [
            "api.example.com"
          ],
          "path": [
            "users",
            ":id"
          ]
        }
      }
    },
    {
      "name": "POST /users",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://api.example.com/users",
          "host": [
            "api.example.com"
          ],
          "path": [
            "users"
          ]
        }
      }
    },
    {
      "name": "DELETE /users/:id",
      "request": {
        "method": "DELETE",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "https://api.example.com/users/:id",
          "host": [
            "api.example.com"
          ],
          "path": [
            "users",
            ":id"
          ]
        }
      }
    }
  ]
}