---
title: "Pay to download the file containing all the emails of a domain."
method: POST
path: "/v5.1/domain/{domain}/email/order"
tags: ["domain"]
---

# Pay to download the file containing all the emails of a domain.

`POST /v5.1/domain/{domain}/email/order`

## Request

- Base URL: `https://api.anymailfinder.com`
- URL: `https://api.anymailfinder.com/v5.1/domain/{domain}/email/order`
- Auth: API key in header `Authorization`

The payment will happen asynchronously, you can specify a url where we will send a webhook once the file is ready to be downloaded. Please note that emails provided in this file are not verified for accuracy.

## Path parameters

- `domain` string, required

## Headers

- `x-webhook-url` string

## Response `200`

Payment started.

- Api51SuccessResponseDto
  - `input` object, required: Your request original input.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Upgrade needed

---

[API](https://skmtc.dev/anymailfinder/apis/anymail-finder-api.md) · [All operations](https://skmtc.dev/anymailfinder/apis/anymail-finder-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anymailfinder/apis/anymail-finder-api/revisions/cd6d62ec7603?raw)
