hosting

GET /v1/sites/{siteId}/edge-domains

The custom domains bound to this site's deploy target.

All hosting endpoints

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/edge-domains \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Every hostname the site serves at its edge host, with the exact DNS records it needs, which of the three DNS tiers it landed on, and when we last saw those records actually resolve from a public resolver. A site with no edge-host project returns an empty list rather than a 404 — that is an ordinary state (every fleet site is in it) and the dashboard renders it as the add-a-domain form. Requires `sites.view`.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).

Response

NameTypeRequiredWhat it is
dataSiteCustomDomain[]Yes

Errors this endpoint can return

401 · 403 · 404 · 429