Domain verification
Generate a DNS verification token for a domain
Changed onAvailable on Pro subscriptions. Generates the domain-specific TXT record value used to verify control of a domain via DNS before it can be searched through the domain search APIs.
post/domainverification/generatednstoken
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 TXT record value to publish on the domain.
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