domains

POST /v1/domains/connect

Host DNS for a domain the customer already owns.

Semua titik akhir domains

Autentikasi

Kirim kunci API sebagai token bearer. Kunci tersebut harus memiliki izin domains.dns.manage; kunci tanpa izin tersebut akan ditolak dengan status 403, bukan 404.

Tempat ID organisasi Anda dimasukkan

Titik akhir ini memerlukan org_id sebagai field dalam bodi JSON.

ID organisasi Anda berada di layar kunci API di dasbor Anda, di sebelah kunci itu sendiri. Itu adalah ID yang sama dalam setiap panggilan yang Anda buat.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

curl -X POST https://api.zinndigital.com/v1/domains/connect \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "fqdn": <string> }'

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

Creates the domain's zone at our DNS provider, branded with our vanity nameservers in the same operation, and returns the delegation to set at the customer's **own** registrar. This is the BYO path — we become the authoritative DNS, **not** the registrar — so it needs no registrar credential and is how "premium DNS included on every plan" is delivered. The domain must be a zone apex (a subdomain is a `422`) and must not already exist on the platform (a `409` — worded so it never confirms another tenant holds it). Requires `domains.dns.manage`, the same authority that governs the records this makes editable. ⛔ There is deliberately **no `product_line` field**: it is derived server-side from the org's subscriptions, because it decides whether shared fleet A/AAAA records are hidden from this customer. Accepting it would let a Footprint-Free customer connect a domain as `mainstream` and read the fleet IPs.

Isi permintaan

NamaJenisWajibTentang apa ini
fqdnstringYaThe domain to host DNS for. Must be a zone apex, not a subdomain.
org_idUuidTidakThe organization to connect it in. Optional when the caller holds `domains.dns.manage` in exactly one org; required otherwise.

Tanggapan

NamaJenisWajibTentang apa ini
idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnHostnameYaA fully-qualified DNS hostname, lowercase, no trailing dot.
sldstringYa
tldstringYa
product_linestringTidakThe product line this domain was created on. **Not decoration** — it is what decides whether the shared fleet A/AAAA records are hidden from the customer (register #93), so the…
ownership_modestring<registered, connected, transferring_in>Ya
statusDomainStatusYaA domain's lifecycle state (docs/31 §4.10).
registered_atobjectTidak
expires_atobjectTidak
auto_renewbooleanYa
renew_yearsintegerYa
registrar_lockbooleanTidak
privacy_enabledbooleanTidak
nameserversstring[]Ya
dnssec_enabledbooleanTidak
site_idUuid | nullTidakThe site this domain points at, if any.
created_atstringYa
updated_atstringTidak
delegationDelegationYaWhere a domain's DNS delegation actually points. Several observations, not one boolean, because they answer different questions and collapsing them hides the only one that means…

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 409 · 422 · 429 · 503