---
title: "Send a domain verification approval email"
method: POST
path: "/domainverification/sendemail"
tags: ["Domain verification"]
---

# Send a domain verification approval email

`POST /domainverification/sendemail`

## Request

- Base URL: `https://haveibeenpwned.com/api/v3`
- URL: `https://haveibeenpwned.com/api/v3/domainverification/sendemail`
- Auth: API key in header `hibp-api-key`

Available on Pro subscriptions. Sends a verification email to one of the configured aliases on the target domain so that domain control can be approved via a link in the email.

## Headers

- `user-agent` string, required

## Request body

- DomainVerificationEmailRequest
  - `DomainName` string, required: Domain name to send the verification email for.
  - `EmailAlias` string, required: One of the configured domain-verification aliases (for example admin or postmaster).

## Response `200`

The verification email was sent successfully.

## Other responses

- `400`: Bad request - the request body was invalid, the domain was invalid, the alias was invalid, or the verification email could not be sent.
- `401`: Unauthorized - the hibp-api-key header was missing, malformed, or invalid.
- `403`: Forbidden - no user agent has been specified in the request, or the current subscription does not include permission to add domains via the API.

## Changes

- **2026-11-16** `7bd47da8c4f3`: 5 breaking, 3 info
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - removed the required property `message` from the response with the `401` status
  - removed the required property `message` from the response with the `403` status
  - …4 more
- **2026-09-11** `1bb60b713979`: 2 info
  - api operation id `sendDomainVerificationEmail` was added
  - api tag `Domain verification` added
- **2026-07-13** `88f801b9a10d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/changes/domainverification/sendemail/post.md)

---

[API](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3.md) - [All operations](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/revisions/52f578954670?raw)
