---
title: "GET /api/builder/domains/ask-public-domain-exists/"
method: GET
path: "/api/builder/domains/ask-public-domain-exists/"
tags: ["Builder domains"]
---

# GET /api/builder/domains/ask-public-domain-exists/

`GET /api/builder/domains/ask-public-domain-exists/`

This endpoint can be used to check whether a domain exists for SSL certificate purposes. It's compatible with the Caddy on_demand TLS as described here: https://caddyserver.com/docs/json/apps/tls/automation/on_demand/ask/. It will respond with a 200 status code if it exists or a 404 if it doesn't exist.

## Query parameters

- `domain` integer

## Response `200`

No response body

## Other responses

- `404` — No response body

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/ea4a3480f8d3/schema)
