domains
POST /v1/domains/transfer/preflight
Check and price a bulk transfer-in.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění sites.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X POST https://api.zinndigital.com/v1/domains/transfer/preflight \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "domains": <string[]> }'Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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`.
Tělo požadavku
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
domains | string[] | Ano | — |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
results | TransferCandidate[] | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 422 · 429