LogoFreestyle
API Reference/Domains

Verify a domain verification request

This checks a pre-existing verification request for a domain. To create a verification request, call the [create domain verification](/#tag/domains/POST/domains/v1/verifications) endpoint. This endpoint will check if the domain has a TXT record with the verification code. If it does, the domain will be verified.

PUT/domains/v1/verifications

Request Body

application/jsonRequired
bodyRequiredobject | object

Verify a domain verification request, can either be done for a domain, or for a specific request

curl -X PUT "https://api.freestyle.sh/domains/v1/verifications" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example.com"
  }'

Domain verified

{
  "domain": "example.com"
}