Domains
TurboPentest uses a top-level domain (TLD) model for verification. You register and verify a root domain, and all subdomains are automatically covered for pentesting.
List domains
Returns all top-level domains registered for your account, along with their verification status and associated targets.
Response 200 OK
Register a domain
Registers a new top-level domain and returns a verification token. You must register the root domain - subdomains are not accepted.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The top-level domain to register (e.g. example.com) |
Response 201 Created
After registering, add a DNS TXT record with the value turbopentest-verify=<verificationToken> to your domain, then trigger verification.
Error responses
| Status | Condition |
|---|---|
400 | Invalid domain format |
400 | Subdomain provided instead of top-level domain |
409 | Domain already registered for your account |
Get domain details
Returns full details for a specific domain, including all associated targets.
Response 200 OK
Remove a domain
Removes a domain and all its associated targets. Any active schedules under the domain's targets are automatically paused before deletion.
Response 200 OK
Verify domain ownership
Triggers a DNS TXT record lookup to verify domain ownership. Before calling this endpoint, ensure you have added the verification TXT record to your domain's DNS.
Response 200 OK
Verification is valid for 1 year. You will receive reminder emails at 60, 30, and 7 days before expiration. When verification expires, all scheduled pentests under that domain are automatically paused.
Error responses
| Status | Condition |
|---|---|
400 | Domain is already verified and not expired |
404 | Domain not found |
422 | DNS lookup failed or verification TXT record not found |
If verification fails, the response includes the expected TXT record value and (when applicable) the records that were found, to help you troubleshoot.