---
title: "Verification API reference"
url: "https://coldagentai.com/docs/api/verification.md"
canonical_url: "https://coldagentai.com/docs/api/verification"
last_updated: "2026-10-19"
type: "reference"
summary: "Verify a batch of email addresses and read an earlier batch with the ColdAgentAI API, including idempotency and the credits it spends."
related: ["https://coldagentai.com/docs/api.md", "https://coldagentai.com/docs/authentication.md", "https://coldagentai.com/docs/errors.md", "https://coldagentai.com/docs/api/credits.md", "https://coldagentai.com/docs/api/leads.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Verification API reference

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Verify a batch of email addresses and read an earlier batch with the ColdAgentAI API, including idempotency and the credits it spends.

Verify a batch of email addresses and read an earlier batch. 2 operations.

## Operations

Authenticate as described in [Authentication](https://coldagentai.com/docs/authentication.md). Every operation below is generated from the [OpenAPI document](https://coldagentai.com/docs/openapi.md).

| Method and path | Scope | What it does |
| --- | --- | --- |
| `POST /v1/email-verification` | write | Verify a batch of email addresses |
| `GET /v1/email-verification/{id}` | read | Read an earlier verification batch |

## POST /v1/email-verification

Verifies up to 1,000 addresses. Each is checked by one provider, and by a second when the first answer is not a clear valid or invalid. Billed per provider check through the credit wallet (plan credits first). A recent result is reused for free. During the trial at most 100 addresses are verified. Send an Idempotency-Key header to make a retry free; the same key with different addresses is refused.

Scope: `write`. A read key gets 403 forbidden. Success: HTTP 200.

### Request body

Send JSON with `Content-Type: application/json`. The body is required.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `emails` | array of string | yes | 1 to 1000 addresses. 1 to 1000 items. |
| `valid_only` | boolean | no | When true, catch-all addresses are not sendable. |

Request example:

```
{
  "emails": [
    "maya@example.com"
  ]
}
```

### Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Use it with GET /v1/email-verification/{id}. |
| `results` | array of object | yes | One entry per distinct valid address, in request order. |
| `results[].email` | string | yes | No further constraints. |
| `results[].outcome` | "verified" or "failed" or "skipped" | yes | verified: checked, see `result`. failed: the providers could not answer, nothing was charged for it. skipped: not checked, see `reason`. |
| `results[].result` | "valid" or "invalid" or "catch_all" or "unknown" or "risky" | no | Only when verified. |
| `results[].sendable` | boolean | no | valid, or catch_all unless valid_only was set. invalid, risky and unknown are never sendable. |
| `results[].providers` | array of string | no | Providers that produced the result. |
| `results[].cached` | boolean | no | True when a recent result was reused and nothing was billed. |
| `results[].checks` | integer | no | Provider checks billed when this address was verified. |
| `results[].verified_at` | string | no | No further constraints. |
| `results[].reason` | string | no | Why a result is failed or skipped (trial_cap, insufficient_credits, or the provider message). |
| `results[].retryable` | boolean | no | No further constraints. |
| `rejected` | array of object | yes | Input that is not an email address. Never billed. |
| `rejected[].index` | integer | yes | No further constraints. |
| `rejected[].value` | string | yes | No further constraints. |
| `rejected[].reason` | string | yes | No further constraints. |
| `checks_billed` | integer | yes | No further constraints. |
| `credits_charged` | integer | yes | No further constraints. |
| `stopped_by` | "insufficient_credits" or null | yes | Set when the wallet ran dry part way; the rest of the addresses are skipped. |

Response example, HTTP 200:

```
{
  "id": "id_8f3a2c1d",
  "results": [
    {
      "email": "maya@example.com",
      "outcome": "verified",
      "result": "valid",
      "sendable": true,
      "providers": [
        "abc123"
      ],
      "cached": true,
      "checks": 1,
      "verified_at": "abc123",
      "reason": "abc123",
      "retryable": true
    }
  ],
  "rejected": [
    {
      "index": 1,
      "value": "abc123",
      "reason": "abc123"
    }
  ],
  "checks_billed": 1,
  "credits_charged": 1,
  "stopped_by": "insufficient_credits"
}
```

### Errors

[`invalid_input`](https://coldagentai.com/docs/errors.md#invalid_input), [`unauthorized`](https://coldagentai.com/docs/errors.md#unauthorized), [`trial_allowance_exhausted`](https://coldagentai.com/docs/errors.md#trial_allowance_exhausted), [`forbidden`](https://coldagentai.com/docs/errors.md#forbidden), [`payload_too_large`](https://coldagentai.com/docs/errors.md#payload_too_large), [`rate_limited`](https://coldagentai.com/docs/errors.md#rate_limited), [`internal_error`](https://coldagentai.com/docs/errors.md#internal_error), [`provider_unavailable`](https://coldagentai.com/docs/errors.md#provider_unavailable). Every error uses the [single format](https://coldagentai.com/docs/errors.md#format).

### Rate limits

Counted per key: 200 requests per 10 seconds. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Over the limit the answer is `429 rate_limited` with `Retry-After`. See [Rate limits](https://coldagentai.com/docs/rate-limits.md).

### Examples

cURL:

```
curl -X POST "https://api.coldagentai.com/v1/email-verification" \
  -H "Authorization: Bearer $COLDAGENTAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "emails": [
    "maya@example.com"
  ]
}'
```

JavaScript (fetch):

```
const res = await fetch(`https://api.coldagentai.com/v1/email-verification`, {
  method: 'POST',
  body: JSON.stringify({
    "emails": [
      "maya@example.com"
    ]
  }),
  headers: { Authorization: `Bearer ${process.env.COLDAGENTAI_API_KEY}`, 'Content-Type': 'application/json' },
});
if (!res.ok) throw new Error(JSON.stringify(await res.json()));
const data = await res.json();
```

## GET /v1/email-verification/{id}

Returns the stored outcome of a batch created by this account. It never calls a provider or charges credits.

Scope: `read`. A read key and a write key both work. Success: HTTP 200.

### Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | 1 to 200 characters |

### Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Use it with GET /v1/email-verification/{id}. |
| `results` | array of object | yes | One entry per distinct valid address, in request order. |
| `results[].email` | string | yes | No further constraints. |
| `results[].outcome` | "verified" or "failed" or "skipped" | yes | verified: checked, see `result`. failed: the providers could not answer, nothing was charged for it. skipped: not checked, see `reason`. |
| `results[].result` | "valid" or "invalid" or "catch_all" or "unknown" or "risky" | no | Only when verified. |
| `results[].sendable` | boolean | no | valid, or catch_all unless valid_only was set. invalid, risky and unknown are never sendable. |
| `results[].providers` | array of string | no | Providers that produced the result. |
| `results[].cached` | boolean | no | True when a recent result was reused and nothing was billed. |
| `results[].checks` | integer | no | Provider checks billed when this address was verified. |
| `results[].verified_at` | string | no | No further constraints. |
| `results[].reason` | string | no | Why a result is failed or skipped (trial_cap, insufficient_credits, or the provider message). |
| `results[].retryable` | boolean | no | No further constraints. |
| `rejected` | array of object | yes | Input that is not an email address. Never billed. |
| `rejected[].index` | integer | yes | No further constraints. |
| `rejected[].value` | string | yes | No further constraints. |
| `rejected[].reason` | string | yes | No further constraints. |
| `checks_billed` | integer | yes | No further constraints. |
| `credits_charged` | integer | yes | No further constraints. |
| `stopped_by` | "insufficient_credits" or null | yes | Set when the wallet ran dry part way; the rest of the addresses are skipped. |

Response example, HTTP 200:

```
{
  "id": "id_8f3a2c1d",
  "results": [
    {
      "email": "maya@example.com",
      "outcome": "verified",
      "result": "valid",
      "sendable": true,
      "providers": [
        "abc123"
      ],
      "cached": true,
      "checks": 1,
      "verified_at": "abc123",
      "reason": "abc123",
      "retryable": true
    }
  ],
  "rejected": [
    {
      "index": 1,
      "value": "abc123",
      "reason": "abc123"
    }
  ],
  "checks_billed": 1,
  "credits_charged": 1,
  "stopped_by": "insufficient_credits"
}
```

### Errors

[`invalid_input`](https://coldagentai.com/docs/errors.md#invalid_input), [`unauthorized`](https://coldagentai.com/docs/errors.md#unauthorized), [`unknown_product`](https://coldagentai.com/docs/errors.md#unknown_product), [`rate_limited`](https://coldagentai.com/docs/errors.md#rate_limited), [`internal_error`](https://coldagentai.com/docs/errors.md#internal_error). Every error uses the [single format](https://coldagentai.com/docs/errors.md#format).

### Rate limits

Counted per key: 200 requests per 10 seconds. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. Over the limit the answer is `429 rate_limited` with `Retry-After`. See [Rate limits](https://coldagentai.com/docs/rate-limits.md).

### Examples

cURL:

```
curl "https://api.coldagentai.com/v1/email-verification/$VERIFICATION_ID" \
  -H "Authorization: Bearer $COLDAGENTAI_API_KEY"
```

JavaScript (fetch):

```
const id = 'id_8f3a2c1d';
const res = await fetch(`https://api.coldagentai.com/v1/email-verification/${id}`, {
  headers: { Authorization: `Bearer ${process.env.COLDAGENTAI_API_KEY}` },
});
if (!res.ok) throw new Error(JSON.stringify(await res.json()));
const data = await res.json();
```

## Related

- [API reference](https://coldagentai.com/docs/api.md)
- [API authentication](https://coldagentai.com/docs/authentication.md)
- [API errors](https://coldagentai.com/docs/errors.md)
- [Credits API reference](https://coldagentai.com/docs/api/credits.md)
- [Leads API reference](https://coldagentai.com/docs/api/leads.md)
