reseller
POST /v1/reseller/brand/panel-hostname/verify
Check whether your panel address is serving.
Autentificare
Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea reseller.manage; o cheie care nu o are va fi respinsă cu 403, nu 404.
Unde merge ID-ul organizației tale
Acest punct final acceptă org_id ca parametru de interogare. Omiteți-l și apelul va acoperi întregul subarbore al chiriașului dvs.; trimiteți-l pentru a restrânge apelul la o singură organizație.
ID-ul organizației tale se află pe ecranul cheilor API din panoul de control, lângă cheia însăși. Este același ID în fiecare apel pe care îl faci.
Încearcă
Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.
curl -X POST https://api.zinndigital.com/v1/reseller/brand/panel-hostname/verify \
-H "Authorization: Bearer zdk_live_…"Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API
Detalii
Asks the edge for its status **and fetches the URL**, and only says yes when both agree. Requires `reseller.manage`. ⛔ The edge's own `active` is not the answer. Measured 2026-08-17: a custom hostname reached `active` with a valid certificate for the customer's name and returned **HTTP 522** to every visitor, because a certificate is not a route. Trusting the status word would have put a dead link in every one of that reseller's clients' e-mail. `errors` carries the edge's own words when it is not progressing.
Parametri
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
org_id (query) | Uuid | Nu | The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agen… |
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
hostname | string | Da | — |
active | boolean | Da | Measured by fetching it, not read off the edge's status. See `ResellerBrand.panel_hostname_active`. |
provider_status | string | Da | — |
records | BrandDnsRecord[] | Da | — |
errors | string[] | Nu | The edge's own complaints, verbatim, on the verify response — *"custom hostname does not CNAME to this zone"* is a sentence a customer can act on in thirty seconds, where "pendi… |
Erori pe care le poate returna acest punct final
401 · 403 · 404 · 429 · 503