Domain verification
Verify a DNS token for a domain
Changed onAvailable on Pro subscriptions. Checks the hibp-verify TXT record on the requested domain and, if it matches the previously generated token, marks the domain as verified for domain search.
post/domainverification/verifydnstoken
Request
- Base URLhttps://haveibeenpwned.com/api/v3
- AuthAPI 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
Response
The domain was successfully verified.
Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
messagefrom the response with the status
5 more changes in this revision
- breaking