API Reference/Domains
Create a domain verification request
This creates a Freestyle Domain Verification Request. It returns a `verificationCode` for your domain. You need to place this code in a TXT record at `_freestyle_custom_hostname.thedomain.com`, then call the [verify domain](/#tag/domains/PUT/domains/v1/verifications) endpoint with the domain to verify it.
Request Body
application/jsonRequireddomainRequiredstringThe domain to create a verification code for
Response Body
200
Verification code created
idRequiredstringFormat:
"uuid"domainRequiredstringaccountIdRequiredstringFormat:
"uuid"verificationCodeRequiredstringcreatedAtRequiredstringFormat:
"date-time"400
Failed to create verification code
messageRequiredstringVerification code created