domains
GET /v1/domains/routes
The registrar routes this organisation can buy a domain through.
Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Dieser Endpunkt gibt in der Spezifikation keine spezifische Berechtigung an. Versehen Sie Ihren Schlüssel daher mit den minimal erforderlichen Rechten und prüfen Sie die Antwort, anstatt Annahmen zu treffen.
Hier kommt Ihre Organisations-ID hin
Dieser Endpunkt akzeptiert org_id als Abfrageparameter. Lassen Sie ihn weg, erfasst der Aufruf Ihren gesamten Mandanten-Unterbaum; übergeben Sie ihn, um den Aufruf auf eine Organisation einzugrenzen.
Die ID Ihrer Organisation finden Sie im Dashboard auf dem Bildschirm für API-Schlüssel direkt neben dem Schlüssel selbst. Sie ist bei jedem Ihrer Aufrufe dieselbe.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X GET https://api.zinndigital.com/v1/domains/routes \
-H "Authorization: Bearer zdk_live_…"Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
Details
Cloudflare Registrar is offered as **an additional, deliberately-chosen way to register a domain**, beside the organisation's existing registrar — not as a cheaper source the platform switches to silently. The reason the choice is the customer's is `locks_nameservers`. A Cloudflare registration cannot use external nameservers: the API exposes no way to set them, so the domain's DNS stays with Cloudflare for as long as we hold it. That is a constraint somebody has to accept knowingly, not one to discover the first time they try to point the domain elsewhere. Every flag is derived from the registrar driver's advertised capabilities, so a driver that gains or loses an endpoint moves this copy with it. Routes the organisation cannot use are returned with `available: false` and a reason rather than filtered out — a one-option list is indistinguishable from a list whose second option failed to load.
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
org_id (query) | string | Nein | Whose routes to report. Required when the caller can act for more than one organisation: availability depends on that organisation's registrar connections, so guessing would gre… |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
routes | RegistrationRoute[] | Ja | — |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 422 · 429