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.
POST
/domains/v1/verifications
Request Body
application/json
Requireddomain
RequiredstringThe domain to create a verification code for
Response Body
200
Verification code created
id
RequiredstringFormat:
"uuid"
domain
RequiredstringaccountId
RequiredstringFormat:
"uuid"
verificationCode
RequiredstringcreatedAt
RequiredstringFormat:
"date-time"
400
Failed to create verification code
message
RequiredstringVerification code created