Domain verification

Send a domain verification approval email

Changed on

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.

post/domainverification/sendemail

Request

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

Headers

user-agentstring required

User agent identifying the consuming application. Required for authenticated APIs. Use your application name and optionally its version. Browsers may supply their own User-Agent instead of a custom value.

Request body

DomainNamestring required

Domain name to send the verification email for.

EmailAliasstring required

One of the configured domain-verification aliases (for example admin or postmaster).

Response

The verification email was sent successfully.

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property message from the response with the status

    5 more changes in this revision