Generated by API Evangelist
Written by API Evangelist tooling for Have I Been Pwned's API. It is a proposal applied on top of the contract, not a document Have I Been Pwned publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Have I Been Pwned API v3 Domainverification API
version: 1.0.0
extends: openapi/have-i-been-pwned-domainverification-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/domainverification/generatednstoken'].post
update:
x-apievangelist-phrasing:
intent: Generate a DNS TXT token for domain verification
effect: write
questions:
- How do I get the TXT record value to prove I own a domain?
- Can I generate a DNS verification token for a domain search?
instructions:
- text: Generate a DNS verification token for {DomainName}.
slots:
DomainName: requestBody.DomainName
- text: Create the TXT record value for domain {DomainName}.
slots:
DomainName: requestBody.DomainName
method: generated
generated: '2026-11-17'
- target: $.paths['/domainverification/verifydnstoken'].post
update:
x-apievangelist-phrasing:
intent: Verify a domain's DNS TXT token
effect: write
questions:
- How do I confirm a domain is mine by checking its TXT record?
- What happens when the DNS token matches the hibp-verify record?
instructions:
- text: Verify the DNS TXT token for {DomainName}.
slots:
DomainName: requestBody.DomainName
- text: Check that the hibp-verify TXT record on {DomainName} matches.
slots:
DomainName: requestBody.DomainName
method: generated
generated: '2026-11-17'
- target: $.paths['/domainverification/sendemail'].post
update:
x-apievangelist-phrasing:
intent: Send a domain verification email
effect: write
questions:
- Can I send a verification email to an admin alias on my domain?
- Which email aliases can I use to approve domain control?
instructions:
- text: Send a domain verification email to {EmailAlias} on {DomainName}.
slots:
EmailAlias: requestBody.EmailAlias
DomainName: requestBody.DomainName
- text: Email the {EmailAlias} alias on {DomainName} to approve domain control.
slots:
EmailAlias: requestBody.EmailAlias
DomainName: requestBody.DomainName
method: generated
generated: '2026-11-17'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.