# Validate emails and phone numbers from CRM rows

**Use case:** 

Send objects with email and phone fields; each comes back verified with your other fields attached as passthrough, so ids survive the round trip.

## Input

```json
{
  "emails": [
    "support@apify.com",
    "someone.random.4f7a9@gmail.com",
    "test@mailinator.com",
    "jane@gmial.com",
    "not an email"
  ],
  "phones": [
    "+1 202 456 1111",
    "07911 123456",
    "+1 800 555 0199"
  ],
  "records": [
    {
      "id": 1,
      "email": "support@apify.com",
      "phone": "+1 202 456 1111"
    },
    {
      "id": 2,
      "email": "jane@gmial.com",
      "phone": "07911 123456"
    }
  ],
  "defaultCountry": "GB",
  "smtpCheck": true,
  "maxItems": 1000
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "text"
  },
  "input": {
    "label": "Input",
    "format": "text"
  },
  "verdict": {
    "label": "Verdict",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "reasons": {
    "label": "Reasons",
    "format": "array"
  },
  "smtp.status": {
    "label": "Mailbox",
    "format": "text"
  },
  "isDisposable": {
    "label": "Disposable",
    "format": "boolean"
  },
  "isRole": {
    "label": "Role",
    "format": "boolean"
  },
  "isFreeMail": {
    "label": "Free mail",
    "format": "boolean"
  },
  "didYouMean": {
    "label": "Did you mean",
    "format": "text"
  },
  "valid": {
    "label": "Valid phone",
    "format": "boolean"
  },
  "e164": {
    "label": "E.164",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "lineType": {
    "label": "Line type",
    "format": "text"
  },
  "hasMx": {
    "label": "MX",
    "format": "boolean"
  },
  "acceptsMail": {
    "label": "Accepts mail",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Email Verifier & Validator API - MX, Disposable, Role, Phone](https://apify.com/vonsensey/email-verifier-validator-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vonsensey/email-verifier-validator-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vonsensey/email-verifier-validator-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
