All status domain endpoints (except
canIssueTls) require authentication.requestVerification
Initiate custom domain verification for a status page. Returns DNS records that must be configured.Input Parameters
ID of the status page to configure a custom domain for
Custom domain hostname. Must start with
status. (e.g., status.example.com)Response
Status page ID
The hostname being verified
Current verification status:
"PENDING", "VERIFIED", or "FAILED"DNS CNAME record name to configure
DNS CNAME record value to configure
DNS TXT record name to configure for verification
DNS TXT record value containing the verification token
DNS Configuration
After receiving the response, configure the following DNS records:-
CNAME Record: Points your custom domain to the Better Uptime status page service
- Name:
status.example.com - Value:
status.betteruptime.app
- Name:
-
TXT Record: Proves domain ownership
- Name:
_betteruptime-verify.status.example.com - Value: The verification token provided
- Name:
Error Codes
NOT_FOUND- Status page not found or doesn’t belong to userCONFLICT- Hostname is already claimed by another status page
verify
Verify DNS configuration and activate the custom domain.Input Parameters
Status page ID
Hostname to verify (must match the one from
requestVerification)Response
Status page ID
The hostname being verified
Updated verification status:
"VERIFIED" on success, "FAILED" if DNS records are not correctly configuredWhether the TXT record verification passed
Whether the CNAME record verification passed
Expected CNAME record name
Expected CNAME record value
Expected TXT record name
Expected TXT record value
Timestamp when the domain was verified (null if not verified)
Verification Process
The endpoint checks DNS records using multiple public DNS resolvers (Cloudflare and Google DNS) to ensure proper propagation. Both the CNAME and TXT records must be correctly configured for verification to pass.Error Codes
NOT_FOUND- Domain mapping not found or doesn’t belong to user
canIssueTls
Check if TLS certificate issuance is allowed for a hostname. This is a public endpoint used by the TLS certificate automation system.This endpoint does not require authentication and is intended for internal infrastructure use.
Input Parameters
Hostname to check TLS eligibility for
Response
Whether TLS certificate issuance is allowed for this hostname
Conditions for TLS Issuance
TLS certificate issuance is allowed when:- The hostname has a verified domain mapping
- The associated status page is published
- DNS verification has passed