Verify a domain
Start a fresh check of the domain's DNS records.
PUT
https://app.usenotix.dev/api/v1/domains/{id}/verifyNeeds a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Start a fresh check of the domain's DNS records. The answer returns at once; read the domain back for the result.
Path parameters
idnumberrequired
Headers
Authorizationstringrequired
Bearer followed by your API key.
Errors
403
Forbidden - API key doesn't have access to this domain
404
Domain not found
429
Verification was restarted for this domain in the last minute, or the team has restarted ten in the last minute. The domain is still being checked; try again in a minute.
Every error has the same shape. See all error codes.
curl -X PUT "https://app.usenotix.dev/api/v1/domains/<id>/verify" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.domains.verify(12);
from notix import Notix
notix = Notix() # reads NOTIX_API_KEY
result, _ = notix.domains.verify(12)
use Notix\Notix;
$notix = new Notix(getenv('NOTIX_API_KEY'));
$result = $notix->domains->verify(12);
Response200
{
"message": "string"
}