Get domain ownership verification status
GET
/v1/security-penetration-tests/domain-verification
const url = 'https://api.varman.io/v1/security-penetration-tests/domain-verification?targetUrl=example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.varman.io/v1/security-penetration-tests/domain-verification?targetUrl=example' \ --header 'X-API-Key: <X-API-Key>'Returns the DNS TXT record and well-known file the organization must publish to prove it owns the target host, and whether either is currently in place.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Organization ID (required for session auth, optional for API key auth)
Query Parameters
Section titled “Query Parameters”targetUrl
required
string
Responses
Section titled “Responses”Verification status returned