> ## 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.

# Amplemarket: Post Email Validations

> Start a batch validation of email addresses in Amplemarket and get an ID to collect results. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Start a batch validation of email addresses in Amplemarket and get an ID to collect results.

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

## 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(
  'amplemarket_post_email_validations',
  {
    "emails": [
      {
        "email": "jane.doe@example.com"
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute amplemarket_post_email_validations --input '{
  "emails": [
    {
      "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": {
    "id": "123e4567-e89b-42d3-a456-426614174000",
    "object": "email_validation",
    "status": "queued",
    "results": [
      {
        "object": "email_validation_result",
        "email": "jane.doe@example.com",
        "result": "deliverable",
        "catch_all": true
      }
    ],
    "_links": {
      "self": {
        "href": "example"
      }
    }
  }
}
```

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

## Input reference

Start batch of email validations

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.emails` | `array` | Yes | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Start batch of email validations",
    "properties": {
      "emails": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "format": "email"
            }
          },
          "required": [
            "email"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "emails"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `string` | Yes | — | Format: `uuid`. |
| `result.data.object` | `"email_validation"` | Yes | — | Allowed: `email_validation`. |
| `result.data.status` | `"queued" \| "processing" \| "completed" \| "canceled" \| "error"` | Yes | — | Allowed: `queued`, `processing`, `completed`, `canceled`, `error`. |
| `result.data.results` | `array` | Yes | — | — |
| `result.data.results[].object` | `"email_validation_result"` | Yes | — | Allowed: `email_validation_result`. |
| `result.data.results[].email` | `string` | Yes | — | Format: `email`. |
| `result.data.results[].result` | `"deliverable" \| "risky" \| "undeliverable" \| "unknown"` | Yes | — | Allowed: `deliverable`, `risky`, `undeliverable`, `unknown`. |
| `result.data.results[].catch_all` | `boolean` | Yes | — | — |
| `result.data._errors` | `array` | No | — | — |
| `result.data._errors[].code` | `string` | Yes | — | — |
| `result.data._errors[].title` | `string` | Yes | — | — |
| `result.data._errors[].detail` | `string` | Yes | — | — |
| `result.data._errors[].source` | `object` | No | — | — |
| `result.data._errors[].source.pointer` | `string` | No | — | — |
| `result.data._links` | `object` | Yes | — | — |
| `result.data._links.self` | `object` | Yes | — | — |
| `result.data._links.self.href` | `string` | Yes | — | — |
| `result.data._links.prev` | `object` | No | — | — |
| `result.data._links.prev.href` | `string` | Yes | — | — |
| `result.data._links.next` | `object` | No | — | — |
| `result.data._links.next.href` | `string` | Yes | — | — |
| `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": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "object": {
            "type": "string",
            "enum": [
              "email_validation"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "processing",
              "completed",
              "canceled",
              "error"
            ]
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "email_validation_result"
                  ]
                },
                "email": {
                  "type": "string",
                  "format": "email"
                },
                "result": {
                  "type": "string",
                  "enum": [
                    "deliverable",
                    "risky",
                    "undeliverable",
                    "unknown"
                  ]
                },
                "catch_all": {
                  "type": "boolean"
                }
              },
              "required": [
                "object",
                "email",
                "result",
                "catch_all"
              ],
              "additionalProperties": false
            }
          },
          "_errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "detail": {
                  "type": "string"
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "pointer": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "code",
                "title",
                "detail"
              ],
              "additionalProperties": false
            }
          },
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "type": "object",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                },
                "required": [
                  "href"
                ],
                "additionalProperties": false
              },
              "prev": {
                "type": "object",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                },
                "required": [
                  "href"
                ],
                "additionalProperties": false
              },
              "next": {
                "type": "object",
                "properties": {
                  "href": {
                    "type": "string"
                  }
                },
                "required": [
                  "href"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "self"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "object",
          "status",
          "results",
          "_links"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Amplemarket provider guide](https://deepline.com/docs/providers/amplemarket/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.