> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Allegrow: Validate

> Catch-all domain resolution and B2B email risk scoring. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Catch-all domain resolution and B2B email risk scoring.

> [!NOTE]
>
> Tool ID: `allegrow_validate`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'allegrow_validate',
  {
    "email": "jane.doe@example.com"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute allegrow_validate --input '{
  "email": "jane.doe@example.com"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "requestId": "request_123",
    "email": "jane.doe@example.com",
    "allegrowStatus": "example"
  }
}
```

Use `deepline describe allegrow_validate --json` for the latest machine-readable contract.

## Input reference

Validate one email address with Allegrow B2B catch-all resolution. Returns safe/dead\_email/do\_not\_mail\_abuse/some\_risk/block\_bounce\_risk/spamtrap/missing\_email plus subStatus=primary when this is the contact's main address.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.email` | `string` | Yes | — | Email address to validate. |
| `payload.metadata` | `object` | No | — | Optional caller metadata. Allegrow echoes this in async webhook payloads. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Validate one email address with Allegrow B2B catch-all resolution. Returns safe/dead_email/do_not_mail_abuse/some_risk/block_bounce_risk/spamtrap/missing_email plus subStatus=primary when this is the contact's main address.",
    "properties": {
      "email": {
        "type": "string",
        "description": "Email address to validate."
      },
      "metadata": {
        "type": "object",
        "description": "Optional caller metadata. Allegrow echoes this in async webhook payloads.",
        "additionalProperties": true
      }
    },
    "required": [
      "email"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.requestId` | `string \| null` | No | — | — |
| `result.data.email` | `string \| null` | No | — | — |
| `result.data.allegrowStatus` | `string \| null` | No | — | Deprecated mirror of result.status. Read result.status instead. |
| `result.data.result` | `object \| null` | No | — | — |
| `result.data.result.status` | `"safe" \| "do_not_mail_abuse" \| "some_risk" \| "block_bounce_risk" \| "dead_email" \| "spamtrap" \| "more_time_required" \| "missing_email"` | No | — | safe = send. do\_not\_mail\_abuse = valid but high spam-report risk, skip email. some\_risk = inconclusive, hold. block\_bounce\_risk = invalid, remove. dead\_email = catch-all host, use other channels. Allowed: `safe`, `do_not_mail_abuse`, `some_risk`, `block_bounce_risk`, `dead_email`, `spamtrap`, `more_time_required`, `missing_email`. |
| `result.data.result.subStatus` | `"primary" \| null` | No | — | primary = main email for this contact. null = no extra context. Allowed: `primary`, `null`. |
| `result.data.pollUrl` | `string \| null` | No | — | Poll URL when validation is still in progress (HTTP 202 response). |
| `result.data.retryAfter` | `number \| null` | No | — | Seconds to wait before polling (HTTP 202 response). |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "requestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "allegrowStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Deprecated mirror of result.status. Read result.status instead."
          },
          "result": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "status": {
                "type": "string",
                "description": "safe = send. do_not_mail_abuse = valid but high spam-report risk, skip email. some_risk = inconclusive, hold. block_bounce_risk = invalid, remove. dead_email = catch-all host, use other channels.",
                "enum": [
                  "safe",
                  "do_not_mail_abuse",
                  "some_risk",
                  "block_bounce_risk",
                  "dead_email",
                  "spamtrap",
                  "more_time_required",
                  "missing_email"
                ]
              },
              "subStatus": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "primary = main email for this contact. null = no extra context.",
                "enum": [
                  "primary",
                  null
                ]
              }
            },
            "additionalProperties": false
          },
          "pollUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Poll URL when validation is still in progress (HTTP 202 response)."
          },
          "retryAfter": {
            "type": [
              "number",
              "null"
            ],
            "description": "Seconds to wait before polling (HTTP 202 response)."
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.12` per pricing unit.

## Related documentation

* [Allegrow provider guide](https://deepline.com/docs/providers/allegrow/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.