{
  "info": {
    "name": "Mailbite Email Verification API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Set the collection variable api_key to your key. Each verification uses one credit."
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://mailbite.io/api/v1"
    },
    {
      "key": "api_key",
      "value": "YOUR_API_KEY"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{api_key}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Verify an address (GET)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/verify?email=mail@example.com",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "verify"
          ],
          "query": [
            {
              "key": "email",
              "value": "mail@example.com"
            }
          ]
        }
      }
    },
    {
      "name": "Verify an address (POST JSON)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\"email\": \"mail@example.com\"}"
        },
        "url": {
          "raw": "{{base_url}}/verify",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "verify"
          ]
        }
      }
    },
    {
      "name": "Credit balance",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/credits",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "credits"
          ]
        }
      }
    },
    {
      "name": "Usage (last 7 days)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{base_url}}/usage?days=7",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "usage"
          ],
          "query": [
            {
              "key": "days",
              "value": "7"
            }
          ]
        }
      }
    }
  ]
}