domains
POST /v1/domains/transfer/preflight
Check and price a bulk transfer-in.
אימות
שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה 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`.
גוף הבקשה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
domains | string[] | כן | — |
תשובה
| שם | סוג | נדרש | מה זה |
|---|---|---|---|
results | TransferCandidate[] | כן | — |
שגיאות שנקודה קצה זו עשויה להחזיר
401 · 403 · 422 · 429