domains

POST /v1/domains/transfer/preflight

Check and price a bulk transfer-in.

همه نقاط پایانی domains

احراز هویت

یک کلید API را به عنوان یک توکن حامل ارسال کنید. این کلید باید دارای مجوز sites.view باشد؛ کلیدی که فاقد آن باشد با خطای 403 رد می‌شود، نه 404.

این نقطه پایانی هیچ شناسه سازمانی را دریافت نمی‌کند. کلید شما در حال حاضر سازمان مربوطه را مشخص می‌کند و پاسخ در همان محدوده ارائه می‌شود.

امتحان کنید

هر چیزی را که داخل براکت‌های زاویه‌دار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.

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

وارد شده‌اید؟ کنسول API در داشبورد شما شناسه سازمان واقعی و کلید خودتان را پر می‌کند و درخواست را روی API زنده اجرا می‌کند تا بتوانید پاسخ واقعی را ببینید. این نقطه پایانی را در کنسول API باز کنید

جزئیات

Takes a list of domain names and answers, per name, whether it can be transferred to us and what that costs — the check half of the bulk transfer-in wizard (`docs/31` §5.3(e)). A `POST` because the list would not survive a query string at this size, not because it changes anything: it is idempotent and writes nothing. Bounded to 50 names per request, so one paste cannot fan an unbounded burst at the registrar; a longer list is a `422` asking the customer to split it rather than a silent truncation. Every price resolves through the TLD catalogue — a client never invents one. Requires `sites.view`.

بدنه درخواست

نامنوعالزامیچیست
domainsstring[]بله

پاسخ

نامنوعالزامیچیست
resultsTransferCandidate[]بله

خطاهایی که این نقطه پایانی می‌تواند برگرداند

401 · 403 · 422 · 429