{
  "info": {
    "_postman_id": "8b082e6d-2396-4db6-bd69-87a27cc9f635",
    "name": "IAMKRATU.AI Backend API",
    "description": "Collection for testing IAMKRATU.AI Contact Form API endpoints.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "item": [
    {
      "name": "1. Root/Health Check",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://localhost:5000/",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            ""
          ]
        }
      },
      "response": []
    },
    {
      "name": "2. Submit Contact Form (Success)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"full_name\": \"Ashwini\",\n  \"email\": \"user@example.com\",\n  \"phone\": \"9876543210\",\n  \"company_name\": \"IAMKRATU\",\n  \"business_type\": \"Beauty Clinic\",\n  \"service_required\": \"WhatsApp Automation\",\n  \"message\": \"Need AI chatbot for my business\"\n}"
        },
        "url": {
          "raw": "http://localhost:5000/api/contact",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            "api",
            "contact"
          ]
        }
      },
      "response": []
    },
    {
      "name": "3. Submit Contact Form (Validation Failure)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"full_name\": \"\",\n  \"email\": \"invalid-email\",\n  \"phone\": \"123\",\n  \"company_name\": \"IAMKRATU\",\n  \"business_type\": \"Beauty Clinic\",\n  \"service_required\": \"\",\n  \"message\": \"\"\n}"
        },
        "url": {
          "raw": "http://localhost:5000/api/contact",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            "api",
            "contact"
          ]
        }
      },
      "response": []
    },
    {
      "name": "4. Get All Submissions (Admin)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://localhost:5000/api/contact",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            "api",
            "contact"
          ]
        }
      },
      "response": []
    },
    {
      "name": "5. Get Single Submission (Replace :id)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "http://localhost:5000/api/contact/1",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            "api",
            "contact",
            "1"
          ]
        }
      },
      "response": []
    },
    {
      "name": "6. Delete Submission (Replace :id)",
      "request": {
        "method": "DELETE",
        "header": [],
        "url": {
          "raw": "http://localhost:5000/api/contact/1",
          "protocol": "http",
          "host": [
            "localhost"
          ],
          "port": "5000",
          "path": [
            "api",
            "contact",
            "1"
          ]
        }
      },
      "response": []
    }
  ]
}
