domains

POST /v1/domains/connect

Host DNS for a domain the customer already owns.

সমস্ত domains এন্ডপয়েন্ট

প্রমাণীকরণ

একটি বিয়ারার টোকেন হিসেবে একটি এপিআই কি পাঠান। কি-টির অবশ্যই domains.dns.manage অনুমতি থাকতে হবে; এটি ছাড়া কোনো কি ৪০৪ নয়, বরং ৪০৩ ত্রুটি দিয়ে প্রত্যাখ্যাত হবে।

যেখানে আপনার অর্গানাইজেশন আইডি দেওয়া হবে

এই এন্ডপয়েন্টটি JSON বডিতে একটি ক্ষেত্র হিসেবে org_id গ্রহণ করে।

আপনার ড্যাশবোর্ডের API কি স্ক্রিনে, কি-এর ঠিক পাশেই আপনার অর্গানাইজেশন আইডি রয়েছে। আপনি যে কলই করুন না কেন, সবগুলিতেই এই আইডি একই থাকে।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

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

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

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.

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
fqdnstringহ্যাঁThe domain to host DNS for. Must be a zone apex, not a subdomain.
org_idUuidনাThe organization to connect it in. Optional when the caller holds `domains.dns.manage` in exactly one org; required otherwise.

প্রতিক্রিয়া

নামধরনআবশ্যকএটি কী
idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
fqdnHostnameহ্যাঁA fully-qualified DNS hostname, lowercase, no trailing dot.
sldstringহ্যাঁ
tldstringহ্যাঁ
product_linestringনাThe 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>হ্যাঁ
statusDomainStatusহ্যাঁA domain's lifecycle state (docs/31 §4.10).
registered_atobjectনা
expires_atobjectনা
auto_renewbooleanহ্যাঁ
renew_yearsintegerহ্যাঁ
registrar_lockbooleanনা
privacy_enabledbooleanনা
nameserversstring[]হ্যাঁ
dnssec_enabledbooleanনা
site_idUuid | nullনাThe site this domain points at, if any.
created_atstringহ্যাঁ
updated_atstringনা
delegationDelegationহ্যাঁWhere 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…

এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে

401 · 403 · 409 · 422 · 429 · 503