Application - Network
Get DNS Records
Get the DNS records for your custom domain.
GET
Get DNS Records
A custom domain must already be attached to the application to use this route. Custom domains are available on the Standard plan and above. This route is rate limited to 3 requests every 10 seconds.
These are the records Cloudflare needs to validate ownership of the custom domain and issue its SSL certificate: typically one or two
string
required
The API key for your account. You can find this in your account settings.
txt records (domain and ACME challenge validation) plus a cname record pointing at cname.squareweb.app, which is what actually routes traffic to the application. Add them at your domain registrar; Cloudflare polls for them automatically, no re-request needed.
The response is cached for 30 seconds per owner and application, and the same cache backs the Cubic AI agent when it inspects an application’s domain setup. If the custom hostname has not been registered at the edge yet, the response is an empty array rather than an error.
To attach a custom domain in the first place, see Set Custom Domain. See also List Domains for every hostname configured across your applications.
Parameters
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.
Response
string
Indicates whether the call was successful..
success if successful, error if not.array
The contents of the response.
Common errors
Get DNS Records

