Verify custom domain
Checks whether the CNAME record is live and SSL is active. Call after the user has configured their DNS. Requires a paid plan.
POST
/status-pages/{id}/custom-domain/verify
Checks whether the CNAME record is live and SSL is active. Call after the user has configured their DNS. Requires a paid plan.
Authentication
Bearer Token (hu_api_key)
Path Parameters
id
string
required
path
Request Body
application/jsondomain
string
Responses
200
Verification result with verified boolean and analysis
No response body
403
Plan upgrade required
curl -X POST 'https://happyuptime.com/api/v1/status-pages/string/custom-domain/verify' \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "domain": "string"}'
const response = await fetch('https://happyuptime.com/api/v1/status-pages/string/custom-domain/verify', { method: 'POST', headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({ "domain": "string" })});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.post('https://happyuptime.com/api/v1/status-pages/string/custom-domain/verify', headers=headers, json={ "domain": "string"})print(response.json())
API Playground
Try this endpoint
POST
/status-pages/{id}/custom-domain/verify