{
  "info": {
    "name": "VerifyAnyEmail API",
    "description": "Import, then set the `apiKey` collection variable to your vae_... key. Base URL defaults to the production API.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.verifyany.email"
    },
    {
      "key": "apiKey",
      "value": "vae_your_key_here"
    },
    {
      "key": "batchId",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Verify a single email",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/verify",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "verify"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"name@example.com\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Submit a batch",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/verify/batch",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "verify",
            "batch"
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"emails\": [\n    \"a@example.com\",\n    \"b@example.com\"\n  ],\n  \"name\": \"my-list\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "Batch status",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/verify/batch/{{batchId}}",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "verify",
            "batch",
            "{{batchId}}"
          ]
        }
      }
    },
    {
      "name": "Batch results",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/verify/batch/{{batchId}}/results?page=1&pageSize=100",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "verify",
            "batch",
            "{{batchId}}",
            "results"
          ],
          "query": [
            {
              "key": "page",
              "value": "1"
            },
            {
              "key": "pageSize",
              "value": "100"
            }
          ]
        }
      }
    }
  ]
}