domains
GET /v1/domains/{domainId}/nameservers/resync
Who can move this domain's nameservers, and what the last resync concluded.
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/domains/{domainId}/nameservers/resync \
-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
W43-79 (docs/719). Answered from our own records with no call to any registrar, so a screen may render it on every load. holder says whether a resync is possible at all: zinn (registered with us), locked (a route that keeps its own nameservers), a linked registrar vendor such as godaddy, connected_unknown (a registrar is connected but no import has placed this domain in it yet), or none. Requires sites.view, RLS-scoped.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
domainId (path) | Uuid | Yes | The domain's id. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
domain_id | string | Yes | — |
fqdn | string | Yes | — |
holder | string | Yes | zinn, locked, connected_unknown, none, or the vendor slug of the linked registrar account holding the domain (godaddy, namecheap, porkbun, namecom, gandi,… |
has_site | boolean | Yes | — |
has_zone | boolean | Yes | Whether we hold a DNS zone for this domain (docs/844). For a domain with no site the POST PREPARES that zone when this is false (a copy of what the domain publishes today,… |
dns_copy | object | Yes | What we copied of the domain's live DNS into our zone (a transfer-in, or the first "use our nameservers" press). null means never copied. unsupported lists records we SAW at… |
nameservers | string[] | Yes | The last delegation we applied or read (a cache; the registrar is the truth). |
last_synced_at | string | Yes | — |
last_outcome | string<aligned, already, byo, no_registrar, unknown, failed, locked, no_site, missing, zone_prepared, zone_not_answering> | Yes | null means never resynced. aligned moved it; already it was right; byo no connected registrar could move it; failed the registrar refused; unknown the authority could… |
last_trigger | string<manual, site_provisioned, site_renamed, cdn_changed, dns_provider_changed, plan_changed, site_transferred, site_moved, registrar_connected, authority_moved, registration, transfer_in> | Yes | — |
started | boolean | No | Present on the POST response only. |
Errors this endpoint can return
401 · 403 · 404 · 429