Check custom domains
check_custom_domainWithout domain: list the custom domains attached to a site — hostname, whether DNS is verified, the verification token, when it was attached. With domain: re-check its DNS and mark it verified when the records resolve; on failure it returns the exact records expected (surface expected_records and message verbatim). A verified domain on a never-published site still 404s — say so and offer to publish. set_custom_domain attaches a domain; remove_custom_domain detaches one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Re-check DNS for this attached domain (e.g. 'example.com') after the owner changed records at their registrar. Omit to list every custom domain on the site with its verification state. | |
| site_id | Yes |